Guest_imported
New member
- Jan 1, 1970
- 0
I am trying to set up a report using a select statement that starts off something like the following:
Set Rs = Db.OpenRecord("Select Count([Field Name]) As NewField....
When I refer to the field NewField in the report I get an error indicating that there is no such field. How do I set something like this up? Is there a Dim statement or some other step that I should do prior to running the SQL statement?
Set Rs = Db.OpenRecord("Select Count([Field Name]) As NewField....
When I refer to the field NewField in the report I get an error indicating that there is no such field. How do I set something like this up? Is there a Dim statement or some other step that I should do prior to running the SQL statement?