Create Report using VBA

G

Guest

Hi, I would like to create an Access Report using VBA. Please give some one a
workable code. My work requires like this:
Have a button on a form. When clicking on the button I am creating a table
based on a "CSV" file. Get the Records from the Table (SQL statment and
Recordset). I would like to display this record sets into a Report and
dynamically.

All I required is the user should click the button only, the result should
be a report showing on the scren.

with thanks & regards
Thiru
 
D

Duane Hookom

I would open the CSV file with Excel and allow the user to format the
results for printing.

If you want to spend a huge amount of time for less functionality, consider
the CreateReport function. There is decent information in Help about the
syntax.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top