Forms emulation Switching on the fly.
For now I have 2 forms (form1 and form2, I could have more...) and I want to
switch between forms during print time base on a field value.
The forms need to print in the order of my data so I could not sort and
print all form1 first and then do form2.
My first thought is to create 2 subreports and base on my field value to
make the appropriate subreport visible.
Ideally I would also like these subreports to load from templates. Is this
the right way of doing it or is there a better method?
Thanks
switch between forms during print time base on a field value.
The forms need to print in the order of my data so I could not sort and
print all form1 first and then do form2.
My first thought is to create 2 subreports and base on my field value to
make the appropriate subreport visible.
Ideally I would also like these subreports to load from templates. Is this
the right way of doing it or is there a better method?
Thanks
This discussion has been closed.
Comments
Yes, loading templates into subreports, or single reports would be the way
to go on this. This will allow you to keep the reports portable and easily
editable as well as keeping your application as simple as possible. Check
out the Report.Template property in the ReportBuilder Help for more
information.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com