How to Count Rows Affected Before Query in VB Prof ver 3.0
Article ID: 108150
Article Last Modified on 1/8/2003
APPLIES TO
- Microsoft Visual Basic 3.0 Professional Edition
This article was previously published under Q108150
SUMMARY
This article shows by example how to count the number of rows affected by a
query before executing the query. You can execute a Select query using the
same Where clause that your action query will use. Then you can examine
the return value. This is an excellent practice before using the SQL
Delete or Update methods.
REFERENCES
The VISDATA.MAK file installed in the VB3\SAMPLES\VISDATA directory
loads extensive examples of data access. The VISDATA sample program uses
every data access function in Visual Basic. You can refer to the VISDATA
source code for examples of how to use each data access function.
Additional query words: 3.00
Keywords: KB108150