Jump to content

print all found records but based on language different layout ?


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

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

Link to comment
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

Link to comment
Share on other sites

This topic is 6093 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
×
×
  • Create New...

Important Information

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