Hello all,
I have a continuous form called FORM1
This form has a field called ID and FIELD 1
I would like to update all records where ID is equal to the value of a textbox on the form (TEXTBOX1).
There will usually be around 5 records.
I have tried an update query and this works ok on its own, maunaully entering an ID number, but it does not work when looking for the value from the form. It does not crash, but it does not update either.
I am using: [forms]![form1]![textbox1]
Is there a better way to update these records?
I'm not much use at code, but found this below:
"Update tblsomething set tblsomething.fieldname ="new value" Where tblsomething.[jobs_D]=" & forms("formname").[jobs_ID]
Is it possible to use something like this where it could update all the records on the form - or is it restricted to the current record.
Thanks for any help im struggling on this one!
but when I try and get a value off the form
I have a continuous form called FORM1
This form has a field called ID and FIELD 1
I would like to update all records where ID is equal to the value of a textbox on the form (TEXTBOX1).
There will usually be around 5 records.
I have tried an update query and this works ok on its own, maunaully entering an ID number, but it does not work when looking for the value from the form. It does not crash, but it does not update either.
I am using: [forms]![form1]![textbox1]
Is there a better way to update these records?
I'm not much use at code, but found this below:
"Update tblsomething set tblsomething.fieldname ="new value" Where tblsomething.[jobs_D]=" & forms("formname").[jobs_ID]
Is it possible to use something like this where it could update all the records on the form - or is it restricted to the current record.
Thanks for any help im struggling on this one!
but when I try and get a value off the form