-
Alfredo Santibanez
- PowerBuilder
- Monday, 8 September 2025 02:42 PM UTC
Hi
I have been testing MSO database interfase and found that on this instruction
print_doc.object.datawindow.table.select=ls_sqlselect
always returns and error:
"Error accesing external object property select"
Going back to use SNC 11 or 10, the problem does not appears.
Reading the documentacion I found that it says that
"If you are using describeless retrieval (the StaticBind database parameter is set to 1), you cannot use the Select property"
I have never used this parameter before, but I tried with DBPARM=PROVIDERSTRING='Database=basededatos',StaticBind=1 and
DBPARM=PROVIDERSTRING='Database=basededatos',StaticBind=0 and the error still shows.
Reading the value with ls_sqlselect=print_doc.object.datawindow.table.select, works perfect.
Best Regards
Alfredo
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.