Hi everybody. I got a question. I'm trying to create a report in VBA. I want to determinate the fields, but the fields depend on a selection. If I have [C-NAME] and [C-FAX], I just want those two informations and nothing else.
Set myReport= Reports.Application.CreateReport(CurrentDb)
How can I put a correct SQL line in a "new" report, that will contain or will show just fields I need? Thanks for your help.
Set myReport= Reports.Application.CreateReport(CurrentDb)
How can I put a correct SQL line in a "new" report, that will contain or will show just fields I need? Thanks for your help.