hi,
i have the following tables:
1) CUTS with fields CUTID, NUMBER
2) LOGS with fields CUTID, BOOM, VOLUME, TOTAL
i have one form fSELLOGS with Combo0 populated with CUTS.NUMBER and list box List4 populated with LOGS.BOOM, LOGS.VOLUME, LOGS.TOTAL
i have event procedure:
Private Sub List4_DblClick(Cancel As Integer)
DoCmd.OpenQuery "fqSELLOGS", acNormal, acEdit
End Sub
and query fqSELLOGS:
UPDATE LOGS SET LOGS.CUTID = (select [cutid] from [cuts] where [cuts].[number]=forms!fsellogs!combo0)
WHERE ((([LOGS].[BOOM])=[forms]![fSELLOGS]![list4]));
the idea is to update selected records in LOGS based on value picked from CUTS.
however, when trying to do it, the system gives me error message saying "operation must use an updateable query"
my query is an update query; any idea how to make it work, please?
i have the following tables:
1) CUTS with fields CUTID, NUMBER
2) LOGS with fields CUTID, BOOM, VOLUME, TOTAL
i have one form fSELLOGS with Combo0 populated with CUTS.NUMBER and list box List4 populated with LOGS.BOOM, LOGS.VOLUME, LOGS.TOTAL
i have event procedure:
Private Sub List4_DblClick(Cancel As Integer)
DoCmd.OpenQuery "fqSELLOGS", acNormal, acEdit
End Sub
and query fqSELLOGS:
UPDATE LOGS SET LOGS.CUTID = (select [cutid] from [cuts] where [cuts].[number]=forms!fsellogs!combo0)
WHERE ((([LOGS].[BOOM])=[forms]![fSELLOGS]![list4]));
the idea is to update selected records in LOGS based on value picked from CUTS.
however, when trying to do it, the system gives me error message saying "operation must use an updateable query"
my query is an update query; any idea how to make it work, please?