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.

Use IF or something else to get to 30 layouts?

Featured Replies

I am programming a billing DB in FM 9 Adv. I now bill 30 different counties and to make a long story short, I have a billing layout for each. Naturally, each county dictates the billing form they will accept so I can't use just one... but I digress, there are simply 30 different billing forms and each client is associated from one county.

The data entry layout has the billing info: the client, hours, date, etc. and WHICH county to bill, and the 30 are on a drop down list.

I would like to have a function that will take me from the data entry screen to the corresponding billing layout for the given county. I suppose I could put 30 tiny buttons on the data entry screen but that's a bit crude but writing a gigantic IF statement also seems to be somewhat clumsy.

It seems to me there must be another way. I would appreciate any suggestions. Thanks.

With version 11 this is easy to do, you just need to perform a script trigger to go to the related layout.

I use 11, I don’t know if there is this tool in version 9, but I read there is a plugin to run script trigger in old filemaker.

I suppose I could put 30 tiny buttons on the data entry screen

You only need one. Set it to Go to Layout [ Layout Name by calculation… ]. Then calculate the layout's name (or number) from the selected county field.

If you have a table of Counties (which you probably should have) you can store the layout's name or number there, then get it through the relationship that will be established when you select the county to bill.

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.