D
dickminter
I am using an update sql query def in a loop to
sequentially update all fields in a table from a another
table. The query uses variables to set the fieldname to
be updated, and the related update criteria in the new
data table.
The problem is that not every field in the update table
has an update (i.e. matching criteria) in the new data
table, causing a query error. How can I either restrict
query action (using a subquery?), or cause my rountine to
cancel the query aciton and loop when the error occurs?
DM
sequentially update all fields in a table from a another
table. The query uses variables to set the fieldname to
be updated, and the related update criteria in the new
data table.
The problem is that not every field in the update table
has an update (i.e. matching criteria) in the new data
table, causing a query error. How can I either restrict
query action (using a subquery?), or cause my rountine to
cancel the query aciton and loop when the error occurs?
DM