on 04-13-2012 1:15 PM
Hi GURUS,
I am trying to use 2D barcodes PDF147 or QR code in one of my Adobe form for production order.
For one of the fields the data may or may not be present every time.
Even though it does not have data the barcode is visible in the layout preview and on printed paper?
Can anyone suggest me how to protect this in order not to display the Barcode when no data?
Thanks
Aparna
Hello Aparna,
Simply hide that element when there is no value assigned to it.
Example :
if( hasValue($) ) then
StaticText1.presence eq ‘visible’
Else
StaticText1.presence eq ‘hidden’
Endif.
Thanks
~Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aparna,
Let's go step by step ,
Can you try to create a text field and map the value of the interface attribute which you were mapping with the barcode ( just to see what is the rawvalue )
In your case i meant " $record.GD_ASSMBL_INFO.rawValue "
I want you to check by replacing the same in the if condition.
Let's say you got the value as "0.00"
if (($record.GD_ASSMBL_INFO.rawValue == "0.00") or ($record.GD_ASSMBL_INFO.rawValue == "NULL"))
{
GD_ASSMBL_INFO.presence = "hidden";
}
else
{
GD_ASSMBL_INFO.presence = "visible";
}
**It sound little strange but i have passed through the same issues in past.
Hope it works.
thanks
~Raj
Hi Raju,
For the first time I got a requirement for a 2D barcode. I need to display a 2D barcode for a Production order data. It has got around 15 fields.
I am not sure how to do it. If you have a sample program / tutorial on how to extract data and use 2D barcode will be useful.
Kindly help.
Regards
Anand
Hello Aparna,
Check what data is being printed, when no data is present. Is it the data, which is present in the default value .
Thanks,
Rakesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.