G
Guest
Hi everybody,
I'm working on an Access Project and I need to update a table (Companies)
with the following info
MainContact = Me.FName + Me. LName
Contact_ID = Me.Contact_ID
Is adding the L.Name but I'm having a hard time combining the rest...
strSql = "Update Companies Set MainContact = '" & Me.LName & _
"' Where Companies.Company_ID = " & Me.Company_ID
CurrentProject.Connection.Execute strSql, dbFailOnError
Thanks for any help!
I'm working on an Access Project and I need to update a table (Companies)
with the following info
MainContact = Me.FName + Me. LName
Contact_ID = Me.Contact_ID
Is adding the L.Name but I'm having a hard time combining the rest...
strSql = "Update Companies Set MainContact = '" & Me.LName & _
"' Where Companies.Company_ID = " & Me.Company_ID
CurrentProject.Connection.Execute strSql, dbFailOnError
Thanks for any help!