Hi.

1.
I am trying to set SQLCA parmeters from an ini file.
SQLCA.of_init(gnv_app.of_GetAppIniFile(), "Database") returns a 1 indicating
success.

However, all the parameters (DBMS, Database, ServerName) are seen to be
null, 
probably because ProfileString(inifile, "database", DBMS , '') take the
default value of  ''.

I tried explicitly doing a ProfileString instead of depending on
SQLCA.of_init 
e.g 
SQLCA.DBMS = ProfileString(gnv_app.of_GetAppIniFile(), "Database", "DBMS",
'')
which also returns a ''

My ini file is 
[Database]
DBMS="SYC"
Database=drift
ServerName=drkbbancbwv9x
AutoCommit=False
DBParm=Release='11',CursorScroll='Forward',CursorLock='OptVal'

I tried setting the values within and without quotes 
e.g DBMS="SYC" and DBMS=SYC.
Neither works.

Could somebody point out what I am doing wrong?

2.
I need to encrypt user password and store them in a database.
Is there anyway of specifying in PB that a field has to be encrypted while
being saved in the database?

Thanx
Sreekumar
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]

Reply via email to