G
Guest
I need to update values in a field in a table on a quarterly basis.
Currently staff are doing this manually. I'd like to automate this process
for them by supplying a button on the switchboard that when clicked would
update all the records. I have tried a hundred combinations of if statements
and case statements but as yet have not found the correct sequence of code.
Basically if [mytable!Myfield]= 4 then update to 5. If 5 update to 6
etcetera. The field is a combobox based on another table of values.
4,5,6...are the bound fields. The tables reside in an SQL database and are
linked.
Am I going about this in the right way? Maybe I should create a macro or a
query that would run through the button. I'm lost. Hope someone can help.
Currently staff are doing this manually. I'd like to automate this process
for them by supplying a button on the switchboard that when clicked would
update all the records. I have tried a hundred combinations of if statements
and case statements but as yet have not found the correct sequence of code.
Basically if [mytable!Myfield]= 4 then update to 5. If 5 update to 6
etcetera. The field is a combobox based on another table of values.
4,5,6...are the bound fields. The tables reside in an SQL database and are
linked.
Am I going about this in the right way? Maybe I should create a macro or a
query that would run through the button. I'm lost. Hope someone can help.