user948060
user948060

Reputation: 973

Can I export a report design layout from Access?

I'm converting an application from access to c#. I have a adp file for the access application. I've only been able to export the report as a .cls file, which does nothing for me. Is there a way to export the report design view so that I don't have to redo it from scratch??

Thanks!

Upvotes: 1

Views: 2155

Answers (1)

Matt Donnan
Matt Donnan

Reputation: 4993

Are you able to use the SaveAsText method to export your report e.g:

saveastext(acReport,"ReportName","FileName.txt")

And then re-import the report using the LoadFromText method e.g:

loadfromtext(acReport,"ReportName","FileName.txt")

This approach allows to export elements from MS Access to a text file containing all the file attributes etc and then allows you to load it back in keeping all it's settings/configurations

Upvotes: 2

Related Questions