R
Ray C
Hi. I am trying ti get my head round queries and wanted a form to show all
the "Stock" items that were booked out to a certain Contract. I tried the
Wizard and the only thing that was close to what I was looking for is a
Select Query "Find Duplicates". Close but not quite right as I am wanting to
find and display all the records that match the Text Box "Contract No". The
wizard produces a form showinhg all the duplicates and the query has a syntax
of "In (SELECT [ContractNo] FROM [tbl_Stock] As Tmp GROUP BY [ContractNo]
HAVING Count(*)>1 )" I have tried inserting "where {Contract No] =
Me.Contractno" in varoius places and different guises but I always get some
kind of error, I appreciate I am fishing blindly about here because I don't
understand the Query Language but can anyone help please?
Thanks RayC
the "Stock" items that were booked out to a certain Contract. I tried the
Wizard and the only thing that was close to what I was looking for is a
Select Query "Find Duplicates". Close but not quite right as I am wanting to
find and display all the records that match the Text Box "Contract No". The
wizard produces a form showinhg all the duplicates and the query has a syntax
of "In (SELECT [ContractNo] FROM [tbl_Stock] As Tmp GROUP BY [ContractNo]
HAVING Count(*)>1 )" I have tried inserting "where {Contract No] =
Me.Contractno" in varoius places and different guises but I always get some
kind of error, I appreciate I am fishing blindly about here because I don't
understand the Query Language but can anyone help please?
Thanks RayC