Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Printing based on filed value


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

Recommended Posts

  • Newbies
Posted

Hi!

I have a number value in a field, ex: 3. I will like to print a layout based on what the field contains. Can this be done thorugh a script?

Thanks!!!

Ceci

Posted

Assuming the field is global and you mean print a particular layout based on it, then you could do something like

If [globalnum = 1]

Go to Layout [one]

Else

If [globalnum = 2]

Go to Layout [two]

...

End If

Print [ ]

  • Newbies
Posted

what I mean is:

I have a number field called <number of labels> (to be printed). If I enter a "3", I wish to print that label 3 times. Can I do this?

Thanks!

Maria

Posted

Hmm..kinda different querry.

3 times. Isn't that 3 x1 time ?

Why not a loop with your global for an end loop if gCounter = yourNumber

SetField[gcounter, 0]

Loop

EndLoop If [gCounter = YourNumber]

SetField[gcounter, gCounter+1]

Print

EndLoop

or something alike...

This topic is 7442 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.