Hello all,
I am trying to build an update query to do the following:
Keep in mind that the query will be launched by a button on a form.
I have a table named tblCompleted; when the data is put in all the data is there except 1 column named DISTANCE. Now what I need the update query to do is once the button is clicked it checks the CODE column (in the same table) which would be "B1" or "B2" or "B3" etc. I need it to update the tblCompleted table (same table) to something like "300-700 FT" but only new records and not mess with the records that are 100% (have both code and distance already there)
example: (before clicking the update button)
CODE DISTANCE
B3
(After clicking the button to run update query)
CODE DISTANCE
B3 300-700 FT
I hope this makes sense and someone can assist me!
Thanks in advance
I am trying to build an update query to do the following:
Keep in mind that the query will be launched by a button on a form.
I have a table named tblCompleted; when the data is put in all the data is there except 1 column named DISTANCE. Now what I need the update query to do is once the button is clicked it checks the CODE column (in the same table) which would be "B1" or "B2" or "B3" etc. I need it to update the tblCompleted table (same table) to something like "300-700 FT" but only new records and not mess with the records that are 100% (have both code and distance already there)
example: (before clicking the update button)
CODE DISTANCE
B3
(After clicking the button to run update query)
CODE DISTANCE
B3 300-700 FT
I hope this makes sense and someone can assist me!
Thanks in advance