I am having a problem with my recordsets. I need to use the rs.recordcount property to display my results correctly. The recordcount always returns a -1 even if there are records in it. I can print the data from the recordset just fine, but I can't count the records.
One would assume that this is a cursor-type problem. I have changed my cursor to all kinds and it still doesn't work. I've tried the "movelast", "movefirst" and other variations. Someone also told me that since i'm using and MS Access database, that it doesn't support other types of cursors. I don't know if that's true or not, but any help would be appreciate.
In a nutshell, all I need to do is get an accurate count of the records being returned to my recordset from this Access database.
Thanks
One would assume that this is a cursor-type problem. I have changed my cursor to all kinds and it still doesn't work. I've tried the "movelast", "movefirst" and other variations. Someone also told me that since i'm using and MS Access database, that it doesn't support other types of cursors. I don't know if that's true or not, but any help would be appreciate.
In a nutshell, all I need to do is get an accurate count of the records being returned to my recordset from this Access database.
Thanks