Hi All,
I'm not a very adept VBA coder, so I am humbly asking for assistance.
I have a table with the following fields:
ID
LastName
FirstName
LastFirst
I have a form to add new contacts to the list. When a record is updated with First and Last Name, I would like to have the database update LastFirst with 'LastName' & ", " & 'FirstName'
I put an event on After Update for
Code:
LastFirst = LastName & ", " & FirstName
and the first record worked fine. Since that first record, I cannot advance to a new record, and when I try to close the form, I get an error that the database cannot be saved, so obviously I am not doing something right. I 'THINK' I need to reference the record that I am on (ID maybe) in my VBA, but I'm not sure how to do that or even if that is what needs to be done.
I use the LastFirst field for 2 purposes:
1. I populate a combo box on a different form with this field.
2. I use this to link the two tables together for reporting.
Any suggestions would be greatly appreciated!
-Wd