marysilvaramos
Registered User.
- Local time
- Yesterday, 18:36
- Joined
- Oct 22, 2012
- Messages
- 25
Hi:
My name is Maricruz, i am new programming with vba and have issues understanding the syntax of DoCmd.RunSQL Update. This is the line
DoCmd.RunSQL ("UPDATE Guardians SET Guardians.Address = Address_Students WHERE Guardians.ID = Id;")
id is a field in the form. When I execute it through a button in the form, a dialog shows asking if I want to update all the records, which is not true because i just want to update 1 record.
All the help is very welcome!
thanks very much in advance
Mary
My name is Maricruz, i am new programming with vba and have issues understanding the syntax of DoCmd.RunSQL Update. This is the line
DoCmd.RunSQL ("UPDATE Guardians SET Guardians.Address = Address_Students WHERE Guardians.ID = Id;")

id is a field in the form. When I execute it through a button in the form, a dialog shows asking if I want to update all the records, which is not true because i just want to update 1 record.
All the help is very welcome!
thanks very much in advance
Mary