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.

How to base Layout on TO and display only specific records

Featured Replies

Hi there,

In FM13, I have a layout with about 10000 records, i would like to create another layout/duplicate and display only specific records of the 10000 records already existing on the main/old layout, i have a drop down field that defines the category of the records(e.g, Employee, Ex Employee, Accommodation, Embassy, Car Hire etc) - is this possible, by relationship definition or any other way, how?

 

 

First thing i thought of is the venerable virtual list technique where you script the creation of a data set. Google it and you'll see some great resources

Edited by Kris M

another layout/duplicate and display only specific records of the 10000 records already existing on the main/old layout

​Miss A! –

strictly speaking, you don't have a layout, but a table with 10,000 records, because 

one table --< one or more TOs --< one or more layouts

so any given layout will always (be able to) show all records from its one and only ”base table”; there's nothing in a layout's attributes that can change this (and a good thing, too).

“Filtering a layout” means “performing a Find in the fields of its TO (and/or its related TO)", so you can use your category as parameter for a Find script.

Herr O.

PS: As usual, the more we know about why you need this, the better (in theory …) the advice.

PPS: Nice picture, but too much contre-jour.

Edited by eos

i would like to create another layout/duplicate and display only specific records

​You cannot define a layout to display only specific records. However, you can use a script trigger to perform a find whenever you enter the layout.

  • Author

strictly speaking, you don't have a layout, but a table with 10,000 records, because 

​Danke, had my thoughts around this but just - pushing LUCK  :angel:

you can use a script trigger to perform a find whenever you enter the layout.

This i can do but for the purpose of optimising(minimise search pool) search, i wanted to search through a layout with records alike - by layout separation.

 

Thank you all for the kind attention and guidance.

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.