E
Ed
I have two tables:
tblEquipment - a standard MS Access table
Valves - a link excel spreadsheet
Fields MELID and MEL ID have a primary/forign key relationship
A standard join returns a non-updatable query
I want to put Basic Location No into Location
I think I need a subquery to replace the DLookUp in the query below:
This query does the job but is very slooooooow.
SELECT tblEquipment.MELID, tblEquipment.Location, DLookUp("[Basic Location
No]","Valves","[MEL ID] = " & nz([MELID],0)) AS Expr1
FROM tblEquipment
WHERE (((DLookUp("[Basic Location No]","Valves","[MEL ID] = " &
nz([MELID],0))) Is Not Null));
Thanks,
Ed
tblEquipment - a standard MS Access table
Valves - a link excel spreadsheet
Fields MELID and MEL ID have a primary/forign key relationship
A standard join returns a non-updatable query
I want to put Basic Location No into Location
I think I need a subquery to replace the DLookUp in the query below:
This query does the job but is very slooooooow.
SELECT tblEquipment.MELID, tblEquipment.Location, DLookUp("[Basic Location
No]","Valves","[MEL ID] = " & nz([MELID],0)) AS Expr1
FROM tblEquipment
WHERE (((DLookUp("[Basic Location No]","Valves","[MEL ID] = " &
nz([MELID],0))) Is Not Null));
Thanks,
Ed