Newbies Ceci Posted June 30, 2004 Newbies Posted June 30, 2004 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
-Queue- Posted June 30, 2004 Posted June 30, 2004 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 [ ]
Ugo DI LUCA Posted June 30, 2004 Posted June 30, 2004 Well, of course if this number follows your layout ordering, you could GoToLayout[LayoutNumber in Field, YourGlobal]
Newbies Ceci Posted June 30, 2004 Author Newbies Posted June 30, 2004 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
Ugo DI LUCA Posted June 30, 2004 Posted June 30, 2004 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...
Newbies Ceci Posted July 1, 2004 Author Newbies Posted July 1, 2004 Thank you!!! that is what I needed! Ceci
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now