Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Label Select Print

Featured Replies

I remember a few years back a script where I could select on a sheet of labels which one to print without wasting the others! I checked here and on the web but could not find this technique anymore! Anyone with any links or maybe even a FM8 updated version on how to do that?

TMAS

If you're using a laser to print the labels, FORGET IT! You stand a good chance of screwing up the mechanism, once you peel one or more labels from a sheet. Laser labels were meant to go thru the paper feed (fuser) once with all the labels in place.

If your using an inkjet, here's one way (a little kludgy):) Create a new table that has as many records as labels. If you're up to label 5, you'll need to clear the first 4 records, etc. (not delete, just clear the info). Then just print all the labels in sorted order.

Steve

I have posted a simple label generator here.

Another option is to use a dedicated label printer.

  • Author

Thank you! That helped! The only drag I found embedet in my solution it will display global fields in non printed spaces! Any work arounds on that?

Thanks for the help! I wish I could give some help back to the comunity not only take!

TMAS

If I understand this correctly, you need to either import the globals into regular fields in the Labels table, or define calculation fields in the Labels table to conditionally display the global values.

Due to a bug in version 7, if you go with the first option, you need to import through a repeating field calculation - in the same way as the ID is being imported in the demo.

EDIT: I have just tested this, and the second option seems much easier: just make a calculation field (in the Labels table) =

Case ( DataID ; Data::someGlobalField )

and put in on the label layout.

Edited by Guest

  • Author

Sorry but could you have a look at this slimed down solution! It wont do anything! I hope I explained it right in the above msg. The global fields should not show up in the emty (non printing) labels!

Thanks for your help!

TMAS

error.fp7.zip

  • Author

Woow thanks so much! So now if I have different layouts, I just use the same table and it goes to a different layout via calculation? Also I noticed graphics like grids, or picures also a portal row grid will show up in the emty spaces! Any work around graphic elements??

TMAS

Edited by Guest

I believe one table with several layouts should be sufficient.

  • Author

Sorry as soon you answered I changed the post!

Please read!

There are no empty spaces - only dummy labels. Anything you put on the layout MUST be there conditionally (in the same way as the logo).

  • Author

So how is it possible to hide Lines, Pictures or frames?

I would make one combined graphic including everything (logo, lines, whatever), and put in a global container.

  • Author

Hey me again, was a while but now I'm back on this project, you mentioned container fields for graphics. But what if I have a portal row. The portal row will still show up!

TMAS

A portal row on a label? Whatever for? Is it a single row? Does it contain a mixture of fields from different TO's?

  • Author

In this case it displays scene indexes! I have a Mini DV Tape and its Scenes with Time! So it should display the scenes on the tape!

Oh and the last file you posted error.fp7 the quantity wont work, I have no idea why! Do you know?

Thanks

T

Edited by Guest

The quantity does not work, because in your Import step dialog you haven't checked the 'Split repeating fields into separate records' option.

If you really need to place a portal on the label, the portal's line/fill attributes must be transparent.

  • Author

Thanks for your help!

Its working

Thomas

  • Author

Sorry me again. I know I'm anoying, sorry! Just trying to get this to understand and work!

I want a popup menu where I can choose to what layout it should go like in the last example. I use

Your Generate Label Script and added a if else if.. steps to go to different layouts, but it wont work! It stayes on the main layout and wont do anything!

TMAS

Picture_1.png

I can't see anything obviously wrong in your script. The only thing I can suggest is to try and isolate the problem, e.g.

If [ selected = "Layout1" ]

Go to Layout [ Layout1 ]

Else If [ selected = "Layout2" ]

Go to Layout [ Layout2 ]

Else If [ selected = "Layout3" ]

Go to Layout [ Layout3 ]

Else

Beep

Show Custom Dialog [ "none of the conditions evaluated as true" ]

End If

  • Author

Now I'm getting the show dialog error msg.

Here the file!

It seems it doesnot like the script steps to go to different layouts! If I remove those and just leave the go to layout without the "if" stips it works.

help.fp7.zip

Edited by Guest

It seems it doesnot like the script steps to go to different layouts!

No, what it means is that none of the conditions evaluated as true. It seems to work if you select Avery 5262 or Avery 5267. Avery 5260 is not in the value list. All the other options are not (yet?) provided for in the script.

  • Author

Sorry about that i thought I checkt it enough! I dont want to waste your time! Would you recomend making the pop up menue a global?

T

Definitely. Otherwise the selection is specific to each record.

  • Author

Hi, so it should be possible to hide layout parts with Filemaker 8.5, after naming objects! You think it will be?

TMAS

I don't recall a HideLayoutObject or HideLayourPart function or script step, so I don't think this will be.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.