- Aleš Vojáček
- PowerBuilder
- Monday, 6 December 2021 11:25 PM UTC
Hi all,
I'm pretty frustrated, I do not know if i can describe my problem properly, but I will try to.
I wanted to use DataStore as instance variable on my window.
If I tried that and run application from PB everything woked smoothly.
But as soon as I tried deploy and run exe my app did not work.
Whne I inserted line into datastore I got -1 back.
my_datastore.insertrow(0) returned -1.
Nothing helped, I tried to reset datastore before insertrow, still nothing. It only worked properly when it was executed from PB.
I tried to use invisible DataWindow istead of DataStore and it wokrs. (From PB and from exe).
There are no childdw, nothing fancy only grid dw with SQL as datasource.
Is there somethin what I could miss, or is DataStore unusable?
Best Regards.
Ales
PS. Using latest PB 21 IDE and Runtime.
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.