BarCode
Hi !!!
I have a problem to change the Barcode type at runtime.
In the frxReport1 code section if I set
BarCode1.BarType := bcCode39;
it's work fine...
but [img]style_emoticons/<#EMO_DIR#>/mad.gif" style="vertical-align:middle" emoid="" border="0" alt="mad.gif" /> if I pass a custom variable BarCode1.BarType := <BARCODETYPE>; I become this message Could not convert Variant of type (String) into type (Boolean). I test my custom variable with a memo and no problem ... its display bcCode39 The custom variable <BARCODETYPE> is a string that comes from another form and from a stringlist. How I can solve the problem ? Thanks in advance ![/img]
I have a problem to change the Barcode type at runtime.
In the frxReport1 code section if I set
BarCode1.BarType := bcCode39;
it's work fine...
but [img]style_emoticons/<#EMO_DIR#>/mad.gif" style="vertical-align:middle" emoid="" border="0" alt="mad.gif" /> if I pass a custom variable BarCode1.BarType := <BARCODETYPE>; I become this message Could not convert Variant of type (String) into type (Boolean). I test my custom variable with a memo and no problem ... its display bcCode39 The custom variable <BARCODETYPE> is a string that comes from another form and from a stringlist. How I can solve the problem ? Thanks in advance ![/img]
Comments
try this:
Thanks mate... it's work fine " border="0" alt="laugh.gif" />" alt=">" />
Good question,
nice info
Thanks