T
True
Hi there,
I'm triggering the following SQL sentence after a click event in order
to update some fields:
DoCmd.RunSQL "UPDATE Interfície SET " _
& "[Date] = MyDate.Value " _
& "WHERE ([Id_Apl] = MyApl.Value AND " _
& "[Id_Interfase] = Interfase.Value);"
This works nicely but when locking the field "MyDate" (unbound) to
avoid further editing I get the error 2166 informing me I cannot lock
a field that hasn't been updated yet.
After some google search efforts I've tried the Me.Dirty = False
method with no success.
Any help will be greatly appreciated,
Thanks
J
I'm triggering the following SQL sentence after a click event in order
to update some fields:
DoCmd.RunSQL "UPDATE Interfície SET " _
& "[Date] = MyDate.Value " _
& "WHERE ([Id_Apl] = MyApl.Value AND " _
& "[Id_Interfase] = Interfase.Value);"
This works nicely but when locking the field "MyDate" (unbound) to
avoid further editing I get the error 2166 informing me I cannot lock
a field that hasn't been updated yet.
After some google search efforts I've tried the Me.Dirty = False
method with no success.
Any help will be greatly appreciated,
Thanks
J