on 02-03-2015 2:16 PM
Hello,
in a smartform we have defined a barcode which will be printed based on a condition (for a special customer for example). Even if the condition is "false", and the barcode should not be printed, the space, where normally the barcode is printed, is allocated.
That means, that even if the barcode is not needed we waste a lot of space on the output.
Is it possible to suppress the printing of such space if the condition is "false"?
Regards
Marc
Hello,
thanks for you quick reply. In the meanwhile this issue has been fixed. Before the barcode was placed with a loop which determines the delivery items. Which that configuration the space always printed.
Now the barcode definition has been moved to a higher node and it is working.
Regards
Marc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Marc,
As i understand your problem correctly, if the Barcode is INITIAL you need not to show the blank space,
So for this my suggestion is to go with ALTERNATE , as shown below
This will create two nodes TRUE & FALSE.
In the General attribute tab of Alternate , you can put condition as BARCODE VALUE not equal INITIAL.
After that in TRUE node you can put the Text file with Barcode Values .
In False node no need to put any text file .
How it work :- If Barcode value is true it will print the respective barcode & if it is false it wont print anything even no blank space.
Please try & let me know if you need any more information on this.
Thanks
Romit Raina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Romit,
this might be a way, but why are you triing it to do with an alternative. You might not know, but if you use the condition-tab (which is available nearly everywhere in your smartform) you got exact the same logic without having this big overhead of a non-used false node.
So please stay patient and let's see what Marc share with us before going through wild suggestions.
~Florian
Hi Marc,
yes of course, it is possible to do that.
But before suggesting wild things can you please share more details.
What I need to know is where in your form the barcode is placed.
Please share a screenshot of the tree and the condition you put there.
~Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.