moving data fields in report in Access 2007

B

Bob

I print "Job" reports from Visual Basic using report created in Access ADP
file.
For some Job types, I move some data fields in the report from their
original location
to another location. It is working in Access 2000 without any problem. But
in Access 2007
when I try to move some data field, I get an error similar to “There is not
enough space to perform operationâ€. I found some workaround for this
problem. I discovered that if I open my ADP file in Access and
make any change in reports (or even add am empty form), the report works
properly.
Therefore in Visual basic, after I open ADP file, I have following code:
m_Application.CreateForm,
where m_Application is an Access.Application object
Only this call I am able to move data fields in the report without any
problem.
Is there any better workaround?

Thanks in advance.
Bob
 

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