>From looking at the code, it appears that one would need to change very
little to get this working for them.  In the data file (save as tab
delimited, you favorite spreadsheet program should help you convert if
needed) you would need to add a field called "Repeat Count" and populated
with the count.  Macs use, if I recall, the slash (/) instead of the
backslash, so one would just need to change line 19 thusly:

partial = newfilename.lastIndexOf("/"); 

If you wanted to add a counter to the repetition, I would also suggest
adding a field called "Rep" (or the like), where the counter would be
stored.

And tweaking the code starting at line 76 thusly:

        switch(sf.records[0][k])
        {
          //case "NUMBERING FROM":
            //of.write((startval+j));
             //break;
          case "Repeat Count":
             of.write("1");
             break;
          case "Rep": // use field name added
             of.write(j); // use j+1 for 1 based counter
             break;
          default:
             of.write(sf.records[i][k]);
        }


It really helps to understand the code's specifics if you know what it is
trying to do.  The code takes your specificed datafile and creates a
equivilent file with a given record duplicated based upon the value in
Repeat Count (setting repeat count to 1 in each duplicated line).  It points
to the new data file, versus the originial.  Half the code is about creating
the new file in a valid location, and the other half is about copying the
data

Cheers.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 04, 2007 8:41 AM
To: FusionPro Users Forum
Subject: [fusionpro] Re: Can I sequentially number different layouts with
different quantities?

Hi Ryan and Kim, strangely enough we are in the middle of trying to attempt
the exact type of job. To get the job into production I did as Ryan had
suggested by creating a data file with the qty's for each creative in a
seperate field and repating each creative the requested number of times
manually in the data. This was pretty time consuming.

I have downloaded the sample as you had suggested but it is not very clear
as to which fields I would have to replace to make my data that I have
created work. Also the way the path is written to the data file is formatted
for the PC. I am working with FP on a Mac. 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..

Figuring this one out I am sure would be a big help to alot of users.

Thanks,
Richard.

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
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
--





+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- 
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
--

Reply via email to