How to Count Rows Affected Before Query in VB Prof ver 3.0 (108150)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 3.0
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.
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | KB108150 |
---|
|