conditional printing
hello,
I want to do a conditional printing with a checkedbox on a dialog form.
I wrote this in the code but it doesn't work and gives an error
What I want is:
- print the masterdata if the CheckBox is checked
- print the masterdata if the CheckBox is not checked and <frxDBDataset6."ARSTOCREEL"> > 0
Regards
I want to do a conditional printing with a checkedbox on a dialog form.
I wrote this in the code but it doesn't work and gives an error
MasterData1.visible:=(CheckBox1.checked) or (not CheckBox1.checked and <frxDBDataset6."ARSTOCREEL"> > 0);
What I want is:
- print the masterdata if the CheckBox is checked
- print the masterdata if the CheckBox is not checked and <frxDBDataset6."ARSTOCREEL"> > 0
Regards
Comments
here is the message,
It means that there is a mistake with the code (type mismatch)