Hello,
I want to have a textbox provide a count of records matching certain parameters. I have a general idea of how to write the code, but can't make it work...
Basically, I want the textbox to display the count of all records that match fldA (reference number) and fldB (project type).
Here's what I wrote (which I know is wrong)
I want to have a textbox provide a count of records matching certain parameters. I have a general idea of how to write the code, but can't make it work...
Basically, I want the textbox to display the count of all records that match fldA (reference number) and fldB (project type).
Here's what I wrote (which I know is wrong)
Code:
SELECT Count(*) FROM tblA.fldB WHERE tblA.fldB = "x" AND tblA.fldA = Me.fldA