Select print view to Print (when multiple)

J

Jonas

I have a form with a few Print Views...
I want to be able select a view (depending on information) when I click
"Print View" in toolbar.
In FormEvents_Loading a current view name is a name of the form (not that of
print view).
How to define, if I opened the form in Print mode?

Regards, Jonas
 
J

Jonas

When I try to get a name of current view, I get a name NOT of Print view but
a name of main form ...
That is when I press a "Print View" button in toolbar.
 
J

Jonas

Hi All,
I've thought that it'd be better to explain with an example:
I've a WEB-ENABLED form (view MyFormView) and two print views: MyPrintView
(set as the view to be used when print) and SecondPrintView.
I load a form (MyFormView) and when I click "Print View" button in toolbar,
on Loading event current view is MyFormView still (the same is on
ViewSwitched event too).
I need to use either MyPrintView either SecondPrintView, depending on form
data...

Any ideas?...
 

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