T
tredd68 via AccessMonster.com
I created a pass through query as follows and it works within access.
SELECT rowcnt FROM sysindexes WHERE object_name(id) = 'tablename' and indid <
2
This returns the row count quickly since it is stored already in the table
definition in SQL. I need to know how you can return the result of this in a
text box on a form.
I do not have the option of using SELECT Count(*) FROM sql table b/c the
number of records is: 19 million and it takes a while.
SELECT rowcnt FROM sysindexes WHERE object_name(id) = 'tablename' and indid <
2
This returns the row count quickly since it is stored already in the table
definition in SQL. I need to know how you can return the result of this in a
text box on a form.
I do not have the option of using SELECT Count(*) FROM sql table b/c the
number of records is: 19 million and it takes a while.