Jump to content
Sign in to follow this  
kbee

Allow Value List to Determine Layout View

Recommended Posts

Hello All,

We have 6 layouts based on the type of Details being entered (ie, meeting, interview, incident report form). We created a value list for each type of Detail. From a list view of all Detail records, we would like to set the Detail ID field with a button script trigger that takes the user to the appropriate layout based on the Detail value list selection. Is this possible? 

 

Share this post


Link to post
Share on other sites

Your question is rather confusing, esp. the part about "button script trigger". If you have a button defined to run a script, then no script trigger is necessary. Make your script do something like:

If [ Details::Type = "Meeting" ]
  Go to Layout [ "Meeting" ]
Else If [ Details::Type = "Interview" ]
  Go to Layout [ "Interview" ]
Else If [ Details::Type = "Incident" ]
  Go to Layout [ "Incident" ]
# add more as necessary
End If

 

Share this post


Link to post
Share on other sites

My apologies on the confusion, still learning the lingo.

This works perfect, thank you!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:
    Terrible Toll 
×
×
  • Create New...

Important Information

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