export a report to an Excel template

K

K E Senthil Kumar

Hi,

I have desinged an access database for travelling expenses statement. Based
on the statement Id, I open a report. After the report is opened, i have to
do some more calculations based on the total report. I want to export this
report to an excel sheet.

I use a form, subform to enter the data. When i export it to excel using

docmd.RunCommand acCmdOutputToExcel

the contents of the main form only are exported, the subform details are not
exported.

The report shows all the main form and sub form details. Can someone help me
to find a solution to export the whole report please

Thanks

kesk
 

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