J
Janet
Hi,
I'm using the query shown below in a subform in Form1 and works fine.
However, I would like to put in place of 1725 a field from Form1 so that
when inserting a BookNo in it, a list would be shown in the subform. I tried
with
WHERE (((BookNo)=[Forms]![frmForm1]![fieldx]))
but no dice.
Can someone help?
TIA
SELECT TOP 100 PERCENT BookNo, DateService, InvoiceNo, Kilometres,
Service
FROM tblServices
WHERE (BookNo = 1725)
ORDER BY DateService
I'm using the query shown below in a subform in Form1 and works fine.
However, I would like to put in place of 1725 a field from Form1 so that
when inserting a BookNo in it, a list would be shown in the subform. I tried
with
WHERE (((BookNo)=[Forms]![frmForm1]![fieldx]))
but no dice.
Can someone help?
TIA
SELECT TOP 100 PERCENT BookNo, DateService, InvoiceNo, Kilometres,
Service
FROM tblServices
WHERE (BookNo = 1725)
ORDER BY DateService