Dear All,

I have given the following code in pfc_logon event :

ls_iniFile = 'abc.ini'
of_setAppIniFile (ls_iniFile)

if SQLCA.of_init(ls_inifile,'ABC Connect') = -1 then
    return -1
end if

SQLCA.of_setUser (as_userId,as_password)
if SQLCA.of_connect() = -1 then
    return -1
else
    gnv_app.of_setUserId(as_userId)
    return 1
end if
 
 

Presently my INI File has got UserId, LogId,password then the application manager is allowing me to connect to database. When these parameters are NULL then, I am not able to Login as I am getting Logon Failed.

Am I writing the correct code using the correct event ?

Regards
Ravi
 

Reply via email to