Hi
I have a question I can hope you can help me with...
I have a reusable form and want to create a recordset based on the form's recordsource which contains distinct values in one of the fields.
So I guesss something like:
mySQL = "Select distinctrow JobNumber from " & myForm.recordsource
set myRST = currentdb.openrecordset (mySQL)
Any thoughts on where I'm going wrong?
Cheers
RSGB
I have a question I can hope you can help me with...
I have a reusable form and want to create a recordset based on the form's recordsource which contains distinct values in one of the fields.
So I guesss something like:
mySQL = "Select distinctrow JobNumber from " & myForm.recordsource
set myRST = currentdb.openrecordset (mySQL)
Any thoughts on where I'm going wrong?
Cheers
RSGB