carrzkiss--thanks for the quick response. I used the SELECT statement you suggested (changed Payment to ITEM_NUM field). Count I got was 1. Let me provide some additional information.
The 'data' is stored in Business Basic string files. It's necessary to use a DSN to get the data. The DSN is defined to use an appropriate ODBC driver and defined Data Dictionary. I'm presuming since I can query all records in the INVENTRY_MASTER with the DSN (and Dictionary) the driver and dictionary are not part of the problem. Does this change the recommendation?
Main Topics
Browse All Topics





by: carrzkissPosted on 2009-08-03 at 16:58:35ID: 25009519
are you trying to count the records that are in your database?
If so, then something like this will work for you..
' Change Payment to the Field that you want to count
sqlGetCount = "SELECT COUNT(Payment) AS CountOfOrgID FROM INVENTRY_MASTER "
Carrzkiss