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?
PS. Using latest PB 21 IDE and Runtime.