Hi,
I am using n_tr object. This is my script:
n_tr ltr_Trans
ltr_Trans = CREATE n_tr
ltr_Trans.Userid = 'UserCn'
ltr_Trans.DBPass = 'PwdCn'
ltr_Trans.LogID = ltr_Trans.Userid
ltr_Trans.LogPass = ltr_Trans.DBPass
ltr_Trans.DBMS = 'O10 Oracle10g (10.1.0)'
ltr_Trans.ServerName = 'SRV01'
ltr_Trans.DBParm = "PBDBMS=0,Async=1,DisableBind=1,DelimitIdentifier='No'"
if ltr_Trans.of_Connect() <> 0 then
MessageBox('Access Level Look-Up Error', 'Error getting Security Access Level for user')
Return FALSE
end if
The problem is when I assign the value to ltr_Trans.DBParm. During debugging when the variable value is assigned, the sqlerrtext shows: "Transaction not connected" and SQLCode = -1.
I don't see where is my problem.
Environment:
- Windows 7
- PowerBuilder 10.5 (my client is using this version) App migrated from PB 6.5
- Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit.
- Oracle Client 10.2.0 - 32 bit
Thanks in advance for your help.