changing report headings names

G

Guest

I would like to give the user the option of changing the report heading
names, I can do this with the Docmd.openreport, stdocname,
acviewdesign,,,achidden and then grab the current heading and display that
heading and allow the user to change it. I then do a docmd.close acreport,
stdocname, acSaveYes, this works just fine when I test but when I compile the
program into a mde it doesn't like the it. Is there another way of doing
this? Thanks for any help.

Tom
 
T

tina

you can write the current heading names to a table, making sure the table
holds only one record. add the table to the query that the report is based
on. use textbox controls to display the heading names in the report. display
the table to the user *via a form*, where s/he can change the heading names
as desired.

hth
 
G

Guest

Thanks Tina, that should work.

tina said:
you can write the current heading names to a table, making sure the table
holds only one record. add the table to the query that the report is based
on. use textbox controls to display the heading names in the report. display
the table to the user *via a form*, where s/he can change the heading names
as desired.

hth
 

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

Similar Threads

Reports 2
subreport 3
PaperSize 15
Change the capiton of the Report 1
Sending email based on 2 combos 4
Access Choosing Printer VBA Access 0
Error after exporting forms to new db 2
Help with VBA code on a form 4

Top