Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
FM.LayoutNames
Queries list of layout names in current file.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
FM | 10.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "FM.LayoutNames" { ; FileName } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
FileName | The name of the database file to query. | "test.fmp12" | Optional |
Result
Returns list or error.
Description
Queries list of layout names in current file.Same as calling LayoutNames(Get(FileName)).
Examples
Show layout names:
Show Custom Dialog [ "Layouts" ; MBS( "FM.LayoutNames" ) ]
Release notes
- Version 10.2
- Added FM.CurrentLayoutID, FM.CurrentLayoutName, FM.LayoutIDForLayoutName, FM.LayoutNameForLayoutID and FM.LayoutNames matching similar functions for scripts.
Blog Entries
This function is free to use.
Created 8th April 2020, last changed 17th July 2022