Jump to content
Sign in to follow this  
chapeau_melon

print all found records but based on language different layout ?

Recommended Posts

Hello,

Here is my problem: Before I used to use one input language.

Printing multiple records of a find result was easy : These were my steps B)

go to layout ...

sort records

print setup

print : with option records being browsed

Today I added language options.

Say one customer could be FR and an other UK

Based on the language the invitation letter is different.

How to impliment this in my printing script ?

Taking into account that is a found set.

Say I have 1000 customer

I do a searh on whatever : result 10 custumers

But these 10 can be FR or UK !

And I need to print only these 10

Kind regards

Share this post


Link to post
Share on other sites

Chapeau

This is the basic idea. Use a looping script to print one at a time rather than print all records and you can then decide which layout to print based on the language

Sort Records

print setup

Go to record first

Loop

If languge = UK

Go to layout UK

elsif Language = Fr

Go to layout French

endif

Print:with option being current record

Go to record next(exit after last)

endloop

HTH

Phil

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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