- Johan Tufberg
- PowerBuilder
- Tuesday, 5 March 2019 03:25 PM UTC
We have recently gone from PowerBuilder 12.6 to PowerBuilder 2017 R3
The method GetSqlSelect() (in DataWindow) has changed its behaviour in a compiled environment. If the datasource in the datawindow isa saved with graphical design then the method GetSqlSelect() does not return the SQL inits original state, the SQL state is converted to all lower case. Example: ”WHERE” is returned as ”where”. ”ORDER BY” is returned as ”order by” and so on. If we run the code in PowerBuilder everything is running as it did previously.
When compiled we are running with a swedish runtime. We have tried copying PDWE170.DLL and PBOLE170.DLL from the english runtime, but it does not make any difference. PBODB170.INI looks the same as PBOBD126.INI.
Is there anyway to get around this problem so that the GetSqlSelect is returned without being converted to lowercase?
We are currently facing a huge amount of work to make sure we use Upper() before searching the SQL with Pos() since we have used the functionality and Pos is case-sensitive.
Note: We are running OLE DB to connect to the SQL Server
Regards
Johan Tufberg
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.