Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9129

Re: Most effiecient way to process result sets of stored procedures

$
0
0

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


Viewing all articles
Browse latest Browse all 9129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>