Jump to content

Multiple labels per record


Bioboy

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

Recommended Posts

Hi,

I am using FMP tp detail a number of products that our company sells. I would like to make a custom label for each product. I have designed the label format etc., but I don't know how to say, print 30 labels for one record. All I can get it to do is print one label per record. The number of labels required will vary for every run. Any ideas?

Also, do I need a header for this type of layout? If I delete the header part I seem to lose text on the body part. Wierd.

Thanks for any help you can offer.

Link to comment
Share on other sites

I wrote this script a couple of years ago. It could probably be cleaned up, but it should get you started.

I saved a second file named "Print Labels".

I created an import script to import the desired records from the source file into "Print Labels" then added the following on the end of the script:

Go to Record [First]

Loop

Set Field [Record Count, No of Tags to Print] * (see below)

Loop

Exit Loop If [Record Count <=1]

Duplicate Record

Set Field [Record Count, Record Count -1]

End Loop

Go to Record [Next, Exit after last]

End Loop

Print Setup

Print [No Dialog]

Delete All Records

Perform Script [Filename:"Source File",comeback]

* Record Count is a global field in the Label file

No of Tags to Print is a number field in the source file that allows you to set a specific no of labels for each individual record.

Hope this helps

Link to comment
Share on other sites

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