- Alan Trottier
- PowerBuilder
- Wednesday, 14 October 2020 10:40 AM UTC
Using PB 2017 R3 with Sybase 16 Database: Connecting to the databases works fine thru the Database administrator but when trying to run my .pbl I am unable to connect. Using the function "of_connect" in the object pfc_n_tr of the pfcmain.pbl returns a -1 (failure to connect). The question is how does the "connect using this;" statement work? How does it establish the connection to the database? It must follow a different path than the db administrator does since I can connect to the databases in that manner. I have tried uninstalling and re-installing PowerBuilder. Didn't help. By the way this was not a problem until recently. Always worked previously, then suddenly stopped. Holding up my development work. Not sure what to try next. Any and all help would be greatly appreciated.
Thank You,
Alan Trottier
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.