LonnieJohnson
Programmer
I want to use a sub query to determine the value for an update query. My problem is using one of the fields in the main query's table as a parm in the sub query like so...
Does that make sense?
ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
Code:
UPDATE tempDemand SET tempDemand.resourcesAvailable = (SELECT ResourcesAvailable FROM qrySupplyResult WHERE Role = [tempDemand]![Role]);
Does that make sense?
ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!