HI all,
I want to open a DAO recordset for the sole purpose of appending new records (.addnew).
Thus, I do not wish to return any records (im a bit of a network conservationist), since I do not need them.
My current method is to use an SQL statement with a WHERE clause on the primary key with a value that is not in, and will never be in the primary key.
I dont like this method because If i looked at my programming I would think I was a moron for sending a '0' as criteria against an AutoNumber field
Can someone suggest a better way to return a DAO recordset for the sole purpose of appending records?
Thanks...
I want to open a DAO recordset for the sole purpose of appending new records (.addnew).
Thus, I do not wish to return any records (im a bit of a network conservationist), since I do not need them.
My current method is to use an SQL statement with a WHERE clause on the primary key with a value that is not in, and will never be in the primary key.
I dont like this method because If i looked at my programming I would think I was a moron for sending a '0' as criteria against an AutoNumber field
Can someone suggest a better way to return a DAO recordset for the sole purpose of appending records?
Thanks...