Jump to content

Printing Multiple Merge Fields


Jaren Meier
 Share

This topic is 5766 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Is there a way to have multiple merge fields to Sliding/Printing. eliminating the blank spaces between the merge fields. I have a solution that needs to print out an invoice based off of multiple fields. As the fields are pulled from the "job ticket" they are put into an invoice to be billed.

Example:

<> data present

<> no data

< data present

< no data

< data present

< no data

Wish it would look like this...

Widget A

3.5 x 4.25

10.00

Not look like this...

Widget A

3.5 x 4.25

10.00

I need to keep the space to the right of the fields as well as the space between the differnt fields. How can i get the sliding/printing to skip those spaces without data in them?

Link to comment
Share on other sites

You could string everything in a calc.

quote_description_1 &

Case ( not IsEmpty ( quote_description_2 ) ; ¶ & quote_description_2 ) &

Case ( not IsEmpty ( quote_size_1 ) ; ¶ & quote_size_1 ) &

Case ( not IsEmpty ( quote_size_2 ); ¶ & quote_size_2 ) &

Case ( not IsEmpty ( quote_amount_1 ); ¶ & quote_amount_1 ) &

Case ( not IsEmpty ( quote_amount_2 ); ¶ & quote_amount_2 )

Link to comment
Share on other sites

This topic is 5766 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.