Hello experts,
I have an update query that I want to modify records meeting a certain criteria in a table based on information on a form.
I am having trouble recognizing the table for a comparison to text box on the form.
Table Name: Created_Submitt ed
Update Query: Created_Submitt ed_Update
Text Box: TxtTitle
I am getting the message “Object Required” when I try to run this. I have been away from working on this for a week or so but I have still not been able to get this to work.
As always, any help would be greatly appreciated.
Thanks,
Doug
I have an update query that I want to modify records meeting a certain criteria in a table based on information on a form.
I am having trouble recognizing the table for a comparison to text box on the form.
Table Name: Created_Submitt ed
Update Query: Created_Submitt ed_Update
Text Box: TxtTitle
Code:
If Me![TxtTitle] = (Created_Submitted.Title) Then Dim stUpdate As String stUpdate = "Created_Submitted_Update DoCmd.OpenQuery stUpdate, acNormal, asEdit End If
As always, any help would be greatly appreciated.
Thanks,
Doug
Comment