I have a 'Maintenance' form in my database with a button called 'Archive All Verified Records' on it.
When you click this, the code goes and looks at 4 tables, Each table has a boolean 'Verified' field. If in any record, Verified = true then that record will be sent to archives.
Can anyone tell me how I can requery the tables before I do this because it is possible that 1 or more users may be using one of the tables when this happens and might have checked a 'Verified' field but not yet updated the table.
I have tried docmd.requery "tableName" but access doesn't like it!
I have also searched these posts and tried access help.
Any help much appreciated.
jimlad
When you click this, the code goes and looks at 4 tables, Each table has a boolean 'Verified' field. If in any record, Verified = true then that record will be sent to archives.
Can anyone tell me how I can requery the tables before I do this because it is possible that 1 or more users may be using one of the tables when this happens and might have checked a 'Verified' field but not yet updated the table.
I have tried docmd.requery "tableName" but access doesn't like it!
I have also searched these posts and tried access help.
Any help much appreciated.
jimlad