#34368 - 12/22/10 08:00 PM
Re: barcode and numbers help
[Re: Sander vd Berg]
|
OL Newbie
Registered: 12/16/10
Posts: 28
|
Each variable can have only one expression, but you can have multiple variables with different expressions in the same text box. For example, in a text box you could have @a@ on one line and @b@ on the next. i tried to do by your way,but no way to realize my idear. for example, there are 3 filed name by F1,F2,F3,i'd like to output these fields row upon row,when they are not zero. if one of them are zero,not output and the next field move up to the position. therefore,if f1 is zero,just two line to output,if f1 and f3 are zero,just one lien to output. so,if i do it by your way,it would keep the blank line.
|
Top
|
|
|
|
#34369 - 12/23/10 12:14 AM
Re: barcode and numbers help
[Re: bowen]
|
Eric Lachance
Unregistered
|
Bowen,
It really depends precisely how your data is built, but here's a little pointer. If you placed a series of field names one after the other separated by a line return only (e.g. [F1] & "¶" & [F2] & "¶" & [F3] & "¶" & [F4] & etc...) , with no space or anything else, then you could check the "Remove Empty Lines" in the text object's properties and it would skip any field that is blank.
This will only work, however, if the field is completely empty (no spaces, or any character at all). It'll also only work if all your fields are on the same record (this wouldn't work with layout repetition, for example).
So if instead of creating rows you create separate columns with the expression like I wrote up there, it may be what you're looking for.
|
Top
|
|
|
|
#34372 - 12/23/10 08:17 PM
Re: barcode and numbers help
[Re: ]
|
OL Newbie
Registered: 12/16/10
Posts: 28
|
Bowen,
It really depends precisely how your data is built, but here's a little pointer. If you placed a series of field names one after the other separated by a line return only (e.g. [F1] & "¶" & [F2] & "¶" & [F3] & "¶" & [F4] & etc...) , with no space or anything else, then you could check the "Remove Empty Lines" in the text object's properties and it would skip any field that is blank.
This will only work, however, if the field is completely empty (no spaces, or any character at all). It'll also only work if all your fields are on the same record (this wouldn't work with layout repetition, for example).
So if instead of creating rows you create separate columns with the expression like I wrote up there, it may be what you're looking for. Hi,Eric As what u said,it just work on the condition that the field is empty. However,my field is 0 to indicate empty. So i've tried,no worked.
|
Top
|
|
|
|
#34373 - 12/25/10 01:36 AM
Re: barcode and numbers help
[Re: bowen]
|
Eric Lachance
Unregistered
|
Bowen,
Still possible but lightly longer and more annoying to type in:
IF([F1] > 0, [F1] & "¶", "") & IF([F2] > 0, [F2] & "¶", "") & IF([F3] > 0, [F3] & "¶", "") & IF([F4] > 0, [F4] & "¶", "")
|
Top
|
|
|
|
#34374 - 12/26/10 08:28 PM
Re: barcode and numbers help
[Re: ]
|
OL Newbie
Registered: 12/16/10
Posts: 28
|
Bowen,
Still possible but lightly longer and more annoying to type in:
IF([F1] > 0, [F1] & "¶", "") & IF([F2] > 0, [F2] & "¶", "") & IF([F3] > 0, [F3] & "¶", "") & IF([F4] > 0, [F4] & "¶", "")
cool! that's what i need,thx,eric , it seems so important to use & to link more expressions!
|
Top
|
|
|
|
#34433 - 01/04/11 04:07 PM
Re: barcode and numbers help
[Re: Sander vd Berg]
|
OL Newbie
Registered: 12/29/10
Posts: 6
|
intelligent mail barcode, usps, HELP!! NO idea what i am doing. I have a mailer id from usps but when i try to edit the expression the barcode disapears. i found a youtube video for printshop mail and onecode but following the example generates errors in my setup. don't know what my mistakes are don't even know if i am building the expression properly. can someone please help with any guidance or suggestions?
thank you to all in advance.
|
Top
|
|
|
|
#34434 - 01/04/11 04:22 PM
Re: barcode and numbers help
[Re: jhicmc]
|
Marc-Andr
Unregistered
|
jhicmc,
The easiest way to use the IMB/OneCode Barcode is to use the Barcode Object in version 7.
You simply click on the Barcode Object and a barcode will appear on your page. Then if you look at the barcode properties change that to USPS OneCode. Then associate your Datafield with that barcode. Make sure you use only numbers and that you follow the guideline set by the USPS.
If you are still not able to make it work, I would suggest you open a service call.
Regards,
Marc
|
Top
|
|
|
|
#34435 - 01/04/11 04:43 PM
Re: barcode and numbers help
[Re: ]
|
OL Newbie
Registered: 12/29/10
Posts: 6
|
thanks Marc, i will try but i am just unclear on how to input my mailer id. I think i will open a service call. thanks again.
|
Top
|
|
|
|
#34436 - 01/04/11 04:55 PM
Re: barcode and numbers help
[Re: jhicmc]
|
Marc-Andr
Unregistered
|
Once the barcode is placed, you can double click on the barcode. Then you will have the option to select the datafield(you created) that contains the information needed for the barcode.
regards,
Marc
|
Top
|
|
|
|
#34440 - 01/05/11 02:46 AM
Re: barcode and numbers help
[Re: ]
|
OL Expert
Registered: 06/10/08
Posts: 207
Loc: Objectif Lune NL
|
IMB/OneCode in the Barcode plug-in expects one long string that consists of all arguments concatenated together. The arguments are the same as the arguments for the ONECODE function in the expression editor, in the same order.
- Barcode ID (2 digits) - Service Type ID (3 digits) - Mailer ID (6 or 9 digits) - Serial No (9 or 6 digits) - Zipcode (0, 5, 9, or 11 digits)
The first digit of the Barcode ID should be in the range 0-9. Its second digit should be in the range 0-4.
Mailer ID and Serial No together should consist of 15 digits.
|
Top
|
|
|
|
|
|