L
Leslie Isaacs
Hello All
I have the following query which won't work:
SELECT [select pvt items].[ref number],
DLookUp("[private]![doctor]","[private]","[private]![ID]=[ref number]") AS
Expr1
FROM [select pvt items];
I have tried it with and without the quotes, and with and without the
[private]! bit, but to no avail. As it is above, access give the message
that it can't find 'ref number' - which is the only other field in the
query.
I would be very grateful if someone could help.
Thanks
Les
I have the following query which won't work:
SELECT [select pvt items].[ref number],
DLookUp("[private]![doctor]","[private]","[private]![ID]=[ref number]") AS
Expr1
FROM [select pvt items];
I have tried it with and without the quotes, and with and without the
[private]! bit, but to no avail. As it is above, access give the message
that it can't find 'ref number' - which is the only other field in the
query.
I would be very grateful if someone could help.
Thanks
Les