Hello, all Is it possible that when specifying the Connection string through DSN and adding InitString property to it in code, then the InitString will be taken from the DSN? We noticed that this DBPARM does not work (the InitString does not happen): //---------------------- ConnectString='DSN=dsnName;InitString=....' //-------------------------- If using execute immediate for the same string, the the connection authentication is visible in the connection property. Thank you Arcady asked 22 Jul '19, 08:08 Arcady Abramov |
Hello, Breck WE are fully aware of the problems with DSN entires. However, it is not something which we can control at this time. Actually, in PB, the problem is non-existent, since we use "EXECUTE IMMEDIATE" and not the InitString. Our problem is in other applications. But now I believe it could be a simple QUOTE/APOS problem. I told the developers to take another look at the connection strings and how the quotes are placed. It could very well be as simple as that. Thank you for your help Arcady answered 22 Jul '19, 09:21 Arcady Abramov |
Please show us all the code used to implement the PowerBuilder CONNECT.
Suggestion: If you are having problems using DSNs, the simple solution is to stop using DSNs. Here is a template...