G
Guest
We're migrating to a SQL back-end Access project. But our update queries don't work anymore. The original SQL syntax:
UPDATE dbo.tblRandom
SET Foo = 1, FooDate = frmFoo.FooishDate
WHERE (FooStatus <> 'Oof') AND (CommitID = frmFoo.FooID)
was ported over to a stored procedure but it gives an ADO error about the column prefix 'frmFoo not matching with a table name or alias name used in the query.
So clearly Update queries don't work the same way. How can an Access project newbie reference a value on a form from within an update stored procedure?
UPDATE dbo.tblRandom
SET Foo = 1, FooDate = frmFoo.FooishDate
WHERE (FooStatus <> 'Oof') AND (CommitID = frmFoo.FooID)
was ported over to a stored procedure but it gives an ADO error about the column prefix 'frmFoo not matching with a table name or alias name used in the query.
So clearly Update queries don't work the same way. How can an Access project newbie reference a value on a form from within an update stored procedure?