Newbies Ceci Posted June 30, 2004 Newbies Share 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 Link to comment Share on other sites More sharing options...
-Queue- Posted June 30, 2004 Share 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 [ ] Link to comment Share on other sites More sharing options...
Ugo DI LUCA Posted June 30, 2004 Share Posted June 30, 2004 Well, of course if this number follows your layout ordering, you could GoToLayout[LayoutNumber in Field, YourGlobal] Link to comment Share on other sites More sharing options...
Newbies Ceci Posted June 30, 2004 Author Newbies Share 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 Link to comment Share on other sites More sharing options...
Ugo DI LUCA Posted June 30, 2004 Share 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... Link to comment Share on other sites More sharing options...
Newbies Ceci Posted July 1, 2004 Author Newbies Share Posted July 1, 2004 Thank you!!! that is what I needed! Ceci Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7093 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