- Orlando Algentera
- PowerBuilder
- Wednesday, 8 August 2018 06:52 PM UTC
How to retrieve datawindow in PowerServer Web?
Below are my configuration:
**Open event script of my window
if AppeonGetClientType() = 'PB' then
SQLCA.DBMS = "ODBC"
SQLCA.AutoCommit = False
SQLCA.DBParm = "ConnectString='DSN=PB Demo DB V2017R2 Unicode;UID=dba;PWD=sql'"
elseif AppeonGetClientType() = 'WEB' then
SQLCA.DBMS = "OLE-MSS"
SQLCA.DBParm = "CacheName='LPPS'"
else //'MOBILE'
end if
connect using sqlca;
if sqlca.sqlcode 0 then
messagebox('test',sqlca.sqlerrtext)
halt;
end if
**Clicked event script of my retrieve button
dw_1.SetTransObject(SQLCA)
dw_1.Retrieve()
**AEM Data Source Setting
**Connection of Application
**Error after clicking Retrieve button
**I've already tried below interfaces for DBMS except for JDBC Interface but it's still not working.
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.