Ryan and Graham, Just wanted to say thanks again. Your suggestions look like they are going to work perfectly!
Graham -- thanks for that "/" note, it was tripping me up. And I appreciate the well-written explanation of how that code "thinks". Definitely helps to know. Ryan -- Thanks for the numbering code. While I'm sure you're right that "Obi-Dan" (which is how I think of Java-god Dan Korn) could "sneeze" something quite elegant, your code definitely does the trick. Could get cumbersome for a bunch of layouts I guess, but it works nicely for now! Also, I'm on a Mac and have found : to work just fine in the past so I used that instead of // with no problem on compose. I do still have a an issue in that I can't preview. Probably there's some tweak needed for Mac that I haven't determined yet. (I tried both: and // just in case). And the rule gives a validation/save error that I ignored of "OnJobStart, line 45: Error: File operation open failed." I guess this might be expected and, as I said, composing does work. Thanks very much once again. This board is great and you guys are quite helpful. -kim >... > Don't give up on the repeat template. It took some time but I was > able to incorporate it into several project with success. > > > The other think that is does not show is how you would get the > > counter to work displaying the ticket numbers i.e. 001 to 500 for > > the first record and so on. > > The numbering itself could be done by analyzing both the layout name > and the current record number. If you know which layouts require > which series of numbers, it would be something like this (this could > be a heck of a lot cleaner): > > if ((Field"layout") == "Layout1" && CurrentRecordNumber() >= 1 && > CurrentRecordNumber() <= 500) > return CurrentRecordNumber (); > else if ((Field"layout") == "Layout2" && CurrentRecordNumber() >= 501 > && CurrentRecordNumber() <= 1000) > return CurrentRecordNumber () + 500; > else > return CurrentRecordNumber () + 1000; > > Other then that... I'm sure some friendly Printable staff member > could sneeze some sort of if then/while loop counter for each layout > and have it just fall out their nose. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Calling all FP Web Users! Do you have a question or lots of knowledge to share about FusionPro Web? If so, join our Printable Web to Print Users' Forum today! Send email to [EMAIL PROTECTED] to find out how! +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- Users of FusionPro Desktop have unlimited free email support. Contact Printable Support at [EMAIL PROTECTED] -- View FusionPro Knowledge Base, FusionPro Samples at www.printable.com/vdp/desktop.htm -- You are currently subscribed to fusionpro as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] -- -- Note: All e-mail sent to or from this address will be received or otherwise recorded by the e-mail recipients of this forum. It is subject to archival, monitoring or review by, and/or disclosure to someone other than the recipient. Our privacy policy is posted on www.printplanet.com --
