1. Raja RAMASAMY
  2. PowerBuilder
  3. Wednesday, 31 May 2023 07:41 AM UTC

 

The above code fails at lds.settransobject( sqlca_doc). i.e returns -1.

i am using oracle database as the backend. i am setting the following parameters.

sqlca_doc.dbms = 'ORA Oracle'

sqlca.servername = 'name of the server'

sqlca.logid = 'username'

sqlca.logpass = 'password'

and it is connect to the database without any errors.

Any help would much appreciated.

Raja RAMASAMY Accepted Answer Pending Moderation
  1. Wednesday, 31 May 2023 13:42 PM UTC
  2. PowerBuilder
  3. # 1

I have resolved it.

Solution

  • Earlier I was building the project into ONE EXE file (with no PBDs)
  • I have changed this into build libraries as PBD, it has started to work

This community is so wonderful. You get the response straight away. I LOVE IT!

Comment
  1. Andreas Mykonios
  2. Wednesday, 31 May 2023 13:57 PM UTC
Then I guess you had not prepared a pbr file. Single Exe files usually need a pbr to resolve such issues.

Andreas.
  1. Helpful
  1. Raja RAMASAMY
  2. Wednesday, 31 May 2023 14:33 PM UTC
No, I had prepared PBR file also. Still for some reason it did not work. Found it strange!



Thats the reason I have reached out to this wonderful community. Anyways happy that its all sorted now.
  1. Helpful
There are no comments made yet.
David Peace (Powersoft) Accepted Answer Pending Moderation
  1. Wednesday, 31 May 2023 08:54 AM UTC
  2. PowerBuilder
  3. # 2

I'm with Rene, theer is a problem with the datawindow.

Comment
There are no comments made yet.
René Ullrich Accepted Answer Pending Moderation
  1. Wednesday, 31 May 2023 07:58 AM UTC
  2. PowerBuilder
  3. # 3

Maybe PB can't find the dataobject.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.