Jump 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.

Easy lookup by date

Featured Replies

Greetings all! I'm a bit of a noob here, and I'm trying to work on a project for a customer.

I have a table that has a couple entries

ID

Date Lookup

Cost

Process Type

My process type is stuff like cut, drill, sand, a whole bunch of stuff. Actually its a foreign key to another table that has the descriptions, but i can't see that matters.

My customer wants an easy way to sum up all their process types by a date range.

I made a report up that has sub-summaries based on the process type. I added a field to my table that is a summary field called 'total'. It sums up the total of cost and restarts on the basis of each sorted group. I put it in my sub summary part and it sums up the values OK.

I can go into find mode, type in a date range like 10/1/8...10/15/8, get my found set and then run the script again that filemaker generated for me. For my end users, that is just a lot of work.

Is there an easier way to restrict this report by date? I'd love to just have 2 drop down boxes labeled start date and end date that they pick and the report auto-populates with information. All that going to find mode and typing code and the such isn't going to work out.

Thanks everyone! I really appreciate anyone taking the time to help me out! I've read other post about this and non quite match up to what I want to do.

"I'd love to just have 2 drop down boxes labeled start date and end date that they pick and the report auto-populates with information."

That can be done easily... just script the process.

  • Author

That was sort of what I was asking :waytogo:

Have you written a script before? Basically:

1) Do the process manually, and write down the steps.

2) Convert the written steps into a script.

Many people have trouble with step 1; not knowing how to do the process manually. Converting a process to a script is usually pretty easy.

Assuming there is a global field holding the start date and another holding the end date:

Enter Find mode []

Set Field [ date ; startdate & "..." & enddate ]

Perform Find []

The script needs more than this (it needs steps to check that the start and end dates are correctly entered etc) but that's the bare bones of it.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.