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.

Marking 'Found' records within the whole list view

Featured Replies

Hi, I'm new so forgive me if I break any rules with my first post.

My question is this - my first-ever database was Mini-Office Pro on a PC. Compared to FM it was laughable, but it did have a nice little trick that FM doesn't seem to, and I was wondering if anyone has evolved a way of doing this in FM?

Briefly, in Mini-Office I could Search for a set of records, and one of the options was to 'Mark' the found records. Mini-Office would then display the entire list view of all records in the database, but a keystroke would jump to the next Marked record in the list in turn. I used this a lot - it enabled me to see found records in the context of the whole database, thereby also seeing the unmarked records around it in the list. What would have been even more useful was if the Marked records were displayed in bold, but even Mini-Office couldn't do that.

So, is there any way I can view the whole database in FM list view, 'jumping' to each next record in a found set within it, in turn? (If this sounds confusing, I apologise, but anyone who remembers Mini-Office will be familiar with the feature).

"So, is there any way I can view the whole database in FM list view, 'jumping' to each next record in a found set within it, in turn?"

Yes, but you're going to have to build it yourself.

However there is a reason why such a feature isn't available in FMP: multiuser.

Imagine that 2 people are using the database. The first user marks their found set. Then the second user sets theirs: the second user's marks will overwrite the first users.

There are ways around the problem which involve remembering the record ids of the found set and not actually marking the records themselves.

  • Author

That sounds interesting Vaughan - can you give me a hint how I might do that? I can use script but I haven't used record IDs yet.

Search the forums for articles on "restore found set" because the technique is similar.

The method is to loop through the found set and add the record id to a global field or variable. An unstored calculation field in each record looks whether its record id is in the global field or variable to indicate whether the record has been selected or not.

Note: an alternative method to looping through the found set is to copy/paste the record ids into the global field or variable. Both techniques have their advantages and disadvantages.

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.