Help - Search - Members - Calendar
Full Version: If component exist
Fast Reports forum > Fast Reports Products > FastReport 3.0
ninken
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?
ninken
Never mind I found my own answer. Forget Passing the barcode text as a parameter.

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

wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.