Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Dynamic value list of layout names


This topic is 7011 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

I'm not sure if I can do this, but I've learned that if you can imagine it, there is generally a way to do it.

What I would like to do is have a value list of layouts. The idea being that the user could choose a layout and go to it (via a script based on the number value of the layout). The list would only be some of the layouts in the database also the list would have to be self editing to grow or shrink as layouts are created.

I thought of having a database which contains just the layout titles and a way of distinguishing which should belong to the value list, and then have a calculation field based on the content of the selected layout.

Not sure if this makes any sense, but any help would be great. Thanks

Posted

I've been trying to get the LayoutNames() design function to insert the layout names into a field. I've tried having a calculation field set to LayoutNames("MainDB"), I've tried setting a text field with a script using the Insert Calculated Value step, I've tried this with a global field... I can't seem to make it work.

I'd like to have the list be inserted into a global field by a script... if this is possible how do I do it? I'm stumped!

Posted

This works for me.

Set Field [ "globaltextfieldname", " LayoutNames ( "AnyDB.fp5")"]

I just tried it in version 5 and had no problems.

  • 5 years later...
Posted

What version of FM? I have a simple demo I wrote of precisely what you want to do but it is in FM7 and uses a free plugin (supplied by Filemaker) that is attached to the file.

This topic is 7011 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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