barcode/template problem
Hi
I have the following problem. In the database there can be a lot of
different barcodes. EAN-13,UPC-E.
I have a custom label designer with which the customer can design it's own
labels.
How can I during runtime detect if there is a barcode object on the loaded
template and change it's type property to whatever barcode type it is.
Any help or solution would be appreciated as it is quite urgent.
TIA
Ruaan
I have the following problem. In the database there can be a lot of
different barcodes. EAN-13,UPC-E.
I have a custom label designer with which the customer can design it's own
labels.
How can I during runtime detect if there is a barcode object on the loaded
template and change it's type property to whatever barcode type it is.
Any help or solution would be appreciated as it is quite urgent.
TIA
Ruaan
This discussion has been closed.
Comments
it. But since each report may be different, then perform a report object
loop to find the object based on the class name of that object after it has
been loaded. Use the Report.Template.OnLoadEnd event to know that a tempalte
has been loaded. See the tech-tips newsgroup in the tempaltes thread for an
article on 'using template events.' Then loop throught the objects as
described in the 'report object loop' tech-tips newsgroup article in the
code based thread. You can then edit the barcode properties at runtime based
on the type that is in the data field of the data pipeline.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Thanks Jim. I figured it out just after I sended the message and everything
is working fine now.
Regards
Ruaan