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.

Newbie Silly Question

Featured Replies

Hi, A real Newbie here. Hope you can help me.

I have created a database which consists of names, dates, text boxes etc etc etc. What I would like to do is to create a query which would, for example, sort through the thousands of entries that I have and say list all the males who were 18 in 1986 (did that make sense?), then I would like that info displayed on the screen.

Is it possible for me to create a script using a button to do this so the user can just press it and get the info?

Am I able to do this, and if so, could someone kindly help me here.

I do hope you can help.

Mark

You can do something like this just by using the build-in Find operations. This can be scripted (and attached to a button) by doing something like:

Enter Find Mode []

Set Field [ Gender ; "Male" ]

Set Field [ Date of Birth ; "<=" & date(month(get(currentdate)); day(get(currentdate)); year(get(currentdate))-38) ]

Perform Find []

Note that finding out who was 18 in 1986 is the same as finding who is (or would have been, for those since deceased) 38 this year.

Your requirement:

list all the males who were 18 in 1986

could be interpreted in a number of ways. I chose to interpret it to mean "18 or older as of this day in 1986". If you wanted to find those that had an 18th birthday sometime during the year or who were 18 at any time during the year, these are a little different, each requiring a range in the date part of that criteria.

  • Author

Hey, thank yo so much! A response that a Newbie understood. You are very kind indeed.

Thanks for the reply and the info. Much appreciated.

Mark

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.