End User sleect label type
Here is a thread from April 2000 that I found useful but need the answer to
the question posed. The thread did not include a final response.
Can you let the end user pick the different label types easily?
RB 7.01 Enterprise / RB Server / Delphi 6 SP2
- - - -- Thread from 4/2000 - - - - -
Okay, that is good to know. Now, how do I use that for End-Users. I have
the
Standard Version of Report Builder. I just want them to be able to choose
the
type of label, and then print, is this possible?
the question posed. The thread did not include a final response.
Can you let the end user pick the different label types easily?
RB 7.01 Enterprise / RB Server / Delphi 6 SP2
- - - -- Thread from 4/2000 - - - - -
Okay, that is good to know. Now, how do I use that for End-Users. I have
the
Standard Version of Report Builder. I just want them to be able to choose
the
type of label, and then print, is this possible?
This discussion has been closed.
Comments
I don't know why you think Nard's answer isn't satisfying, but I think if your users can serve a combo box I would say it is easy.
You can test it by your own, open the enduser demo (RBuilder\Demos\3. EndUser\1. Report Explorer\EndUser.dpr) and create a new report - select the label wizard ...
HTH,
Chris Ueberall;
report, then preview it with a default label (Say Avery 5160 or the last
type the user selected) and then allow the end user to select a different
supported label type from a drop down. So the dataset, fields etc are
already defined. They are just picking the type of label paper they have
essentially from a printer output options box.
Maybe this would be easier to create a dropdown with "supported label" types
within my Delphi application and let the end user pick there. So to get a
sheet of labels the user would pick options like...."All employees" and
label "Avery 5160" and I could take that info and fire up the correct
report I have already pre-defined. Although that would require a different
report for each label... Not sure this is making sense?
descendent we use in ppLabWiz.pas and the form is ppLWizDlg.pas. You can
copy the class ppLabWiz and also the form/unit, then rename them. You have
to make two new register calls. Register the new wizard class and then
register your new form class. The registration calls should be done at the
init/finalization sections of each respective unit.
Change the color of one of the controls in the form to make sure your are
linking in your new form at runtime.
Then you can customize the label wizard behavior to you liking, perhaps,
provide a list of templates that you have predefined report template for
that label, otherwise they can create a new report for the label sheet they
want to print the data on. We don't have a demo of this, but it should be
doable. Let us know how it goes.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com