I have a form that allows users to update info. This automatically pops up all records with a null in a particular field and allows updating via a combo box.
I then check the table for nulls (using Dcount) again when they try to close it and don't allow close where a null still exists.
The problem I have is that the table is not updated until the control has been exited, therefore the Dcount is incorrect where the user has not exited the last control they are on. I have tried adding a goto next record command but this doesn't work where the records in question is the last record.
How do I make sure the records are updated before I perform the Dcount?
Thanks for any help.
I then check the table for nulls (using Dcount) again when they try to close it and don't allow close where a null still exists.
The problem I have is that the table is not updated until the control has been exited, therefore the Dcount is incorrect where the user has not exited the last control they are on. I have tried adding a goto next record command but this doesn't work where the records in question is the last record.
How do I make sure the records are updated before I perform the Dcount?
Thanks for any help.