If component exist

edited August 2007 in FastReport 3.0
Hi, I???m creating a labeling program for work. The end user will start with a template label That contains a few barcodes.
Depending on what they need on the label they may delete some of the barcodes.
Then I save the .fr3 report in a database, where I???m going to control that label from there on.
I???m passing parameters to control the barcode information, but I need to know if certain barcodes exist first.

Is there anyway to code if barcode1 exist then do something?

Comments

  • edited 1:44AM
    Never mind I found my own answer. Forget Passing the barcode text as a parameter.

    try
    TFrxBarcodeView(frxReport1.FindComponent('barcode4')).text := 'ABCDEFG';
    except
    end;

    >

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.