I'm having problems with my DoCmd.GoToRecord,,acNewRec - it opens the form, but does not go to the new record and populate the fields with the data.
If IsNull(PurchaseMainList) Then Exit Sub DoCmd.OpenForm "PaymentsUnprocessedListF" DoCmd.GoToRecord , , acNewRec Forms!PaymentsUnprocessedList!PurchaseID = PurchaseMainList Forms!PaymentsUnprocessedList!PaymentDate = Date Forms!PaymentsUnprocessedList!PaymentAmount = PurchaseMainList.Column(6)
Try doing one thing at a time. Does the first line work DoCmd.OpenForm "PaymentsUnprocessedListF" Yes, try the second as well. Until you find the one that doesn't.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Payables Seminar.