report settings in table

A

Abrm

Hi,
I have a table with all reports in it.
For each report there is a field for the number of copies, resource, printer
name,etc.
For setting this options, I use this code.

DoCmd.OpenReport [c_reportnaam], 1
'2=preview, 1=designview, 3=normal
Set rpt = Reports(c_reportnaam)
Set dm = New DevMode
Set dm.Object = rpt

dm.DefaultSource = vpapersource
dm.Copies = vcopies
DoCmd.Close acReport, [c_reportnaam], acSaveYes

This works fine with the developer or complete version of access.
Only our production environment uses the runtime version. And then I noticed
the design view isn't working.
I would like to create this:
Define the report
set the options
print the report

Is there a way to set these options for a report in the runtime version?
 
L

Lance McGonigal

No. Design view is not available in runtime. Runtime is a
development-striped version of access.

Sorry

Blessings
 

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