Jump to content

Dynamic value list of layout names


Louisa

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

Recommended Posts

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

  • 5 years later...

This topic is 6884 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.