Strange issue that I am having.
datastore lds_formlabels;
lds_formlabels = create datastore;
lds_formlabels.dataobject = "d_get_formlabel";
lds_formlabels.settrans( SQLCA);
lds_formlabels.retrieve(formid);
MessageBox(string(formid),string(lds_formlabels.rowcount( )),StopSign!);
Running from the IDE I get 20 records being returned which is correct.
When I deploy and test I get 0 records.
This is a very simple stored procedure that just returns a result set of 2 integer values with 20 rows in the table.
Any idea what I have messed up here??
Thanks