Do whatever checks you want to do on form close, setting a boolean to true if you don't want the form to close, then on form_Unload add the following..
If blncheck = true then
Cancel = true
endif
Or you could use a union query to do it if the fields are definitely the same and base whatever you want on the query...
SELECT * FROM MEMO51
UNION
SELECT * FROM MEMO52
UNION
SELECT * FROM MEMO53
UNION
SELECT * FROM MEMO54
Only problem with that is the resulting recordset is not updateable.
I've got an access append query appending a small amount of records to a SQL table. Thing is, whenever i append them, the records seem to become locked and will not allow me to edit them ("The record has been changed by another user since you started editing.") Thing is, it's not live...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.