I am trying to find the best way to accomplish the following:
Enter a value for determining changes and deletions just once. i.e. 999 Msgbox here, no problem.
Next, using the value 999 find a specific record and move null values to specified columns of a table record.
Next, using the value 999 delete all records matching 999 from table 1.
Repeat above for table 2.
The key here is that I want to enter a value (999) only once and not multiple times. The value will vary so I can't use a specific criteria driven update/delete query.
I hope this makes sense and any help will be appreciated.
Thanks.
Enter a value for determining changes and deletions just once. i.e. 999 Msgbox here, no problem.
Next, using the value 999 find a specific record and move null values to specified columns of a table record.
Next, using the value 999 delete all records matching 999 from table 1.
Repeat above for table 2.
The key here is that I want to enter a value (999) only once and not multiple times. The value will vary so I can't use a specific criteria driven update/delete query.
I hope this makes sense and any help will be appreciated.
Thanks.