G
Guest
Hi,
I use an update query with values given from a form to update a group of
records in a table. The code is like:
UPDATE myTable SET [Field1]=[Forms]![Form1]![txt1] WHERE
[Field2]=[Forms]![Form1]![txt2] AND [Field3]=[Forms]![Form1]![txt3]
The table may include records that have null value in a field so let’s say
if txt3 is left blank in the form the goal is the query to update records
with null value in Field3 and Field2 values as the txt2 value in Form1, but
this doesn’t work.
Do you know a way to do it?
Thank you
GL
I use an update query with values given from a form to update a group of
records in a table. The code is like:
UPDATE myTable SET [Field1]=[Forms]![Form1]![txt1] WHERE
[Field2]=[Forms]![Form1]![txt2] AND [Field3]=[Forms]![Form1]![txt3]
The table may include records that have null value in a field so let’s say
if txt3 is left blank in the form the goal is the query to update records
with null value in Field3 and Field2 values as the txt2 value in Form1, but
this doesn’t work.
Do you know a way to do it?
Thank you
GL