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.

Help creating a find script.

Featured Replies

  • Newbies

Hello to you all, my first post here. Mac OS Catalina FMP 15 

I’m stuck on a script to make a find!  I’d really appreciate some help having gone round in circles for a while.

I have 7 fields on 1 table. Among them "Ledger" (There are 6 ledgers), "Account" (There are 20 accounts) and many "Category". The rest are, Date, Detail, Credit and Debit.

I am hoping to make a find that shows all the related fields from a selected Ledger, showing only the records for the account selected and the category selected. And a button "Go" that runs the find script and shows a list of the result.

I have 3 buttons available on the Layout’s header section.

They set the "ChooseLedger" field with a dropdown list of the Ledgers, the "ChooseAccount" field with a dropdown list of the  Accounts, and the "ChooseCategory" field with a dropdown list of the Categories.

The results fields are on the body section.

Thanking you in advance.

Henry

Assuming that "ChooseLedger", "ChooseAccount" and "ChooseCategory" are global fields, you could do simply:

Enter Find Mode []
Set Field [ YourTable::Ledger ; YourTable::ChooseLedger ]
Set Field [ YourTable::Account ; YourTable::ChooseAccount ]
Set Field [ YourTable::Category ; YourTable::ChooseCategory ]
Perform Find []

 

Create an account or sign in to comment

Important Information

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

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.