M
Melissa
I recently got multiple errors in my tblComments table after filling out a
form that (using VBA) creates new recordsets in the tblComments table. I'm
afraid it has something to do with the fact that other people were in the
record(s) at the same time. Is there a way to prevent this from happening
again?
Additional Info: the database is a FE and BE setup with each user having
the FE on their own computer. Any help would be most appreciated. Below
is the code I used to update the tblComments table.
Set dbpurchaseorders = CurrentDb
Set rcdcomments = dbpurchaseorders.OpenRecordset("tblComments")
rcdcomments.AddNew
rcdcomments!CommentDate = Me.RevisionDate
rcdcomments!PurchaseOrderNumber = Me.PurchaseOrderNumber
rcdcomments!Notify = Me.Notify
rcdcomments!Comment = strcriteria
rcdcomments.Update
form that (using VBA) creates new recordsets in the tblComments table. I'm
afraid it has something to do with the fact that other people were in the
record(s) at the same time. Is there a way to prevent this from happening
again?
Additional Info: the database is a FE and BE setup with each user having
the FE on their own computer. Any help would be most appreciated. Below
is the code I used to update the tblComments table.
Set dbpurchaseorders = CurrentDb
Set rcdcomments = dbpurchaseorders.OpenRecordset("tblComments")
rcdcomments.AddNew
rcdcomments!CommentDate = Me.RevisionDate
rcdcomments!PurchaseOrderNumber = Me.PurchaseOrderNumber
rcdcomments!Notify = Me.Notify
rcdcomments!Comment = strcriteria
rcdcomments.Update