J
Jeff
I'm trying to use a subquery in an Update statement a la:
UPDATE tblRecipes
SET Field1 = (SELECT Field1
FROM tblRecipesBackupTable
WHERE ID = 3)
WHERE ID = 3'
What I'm trying to do is build a way to initiate a backup
plan from a 'system default' in case a user screws up a
recipe and needs to get the original one back. To do this
reliably (there are 2600 recipes in the DB) I'd need to
use a subquery to find the appropriate backed up recipe
based on ID number.
Access 97 gives me the error: Operation must use an
updatable query.
Can anyone let me know how to use subqueries correctly in
Access 97 Update SQL statements?
Thanks,
JEff
UPDATE tblRecipes
SET Field1 = (SELECT Field1
FROM tblRecipesBackupTable
WHERE ID = 3)
WHERE ID = 3'
What I'm trying to do is build a way to initiate a backup
plan from a 'system default' in case a user screws up a
recipe and needs to get the original one back. To do this
reliably (there are 2600 recipes in the DB) I'd need to
use a subquery to find the appropriate backed up recipe
based on ID number.
Access 97 gives me the error: Operation must use an
updatable query.
Can anyone let me know how to use subqueries correctly in
Access 97 Update SQL statements?
Thanks,
JEff