Apr 20, 2023 #1 elly00 Technical User Jun 30, 2011 69 IT Hi,, how can I test the result of a query? For example I've SELECT COUNT(*)FROM TABLE.. I would like to store the result in a variable in order to test it
Hi,, how can I test the result of a query? For example I've SELECT COUNT(*)FROM TABLE.. I would like to store the result in a variable in order to test it
Apr 20, 2023 #2 strongm MIS May 24, 2001 20,154 GB If you have a single value returned from a recordset, it can be retrieved with something like: [tt]myvariable = rst.Fields(0)[/tt] Upvote 0 Downvote
If you have a single value returned from a recordset, it can be retrieved with something like: [tt]myvariable = rst.Fields(0)[/tt]