Putting Results in a dialog Field

Posted on 2004-12-01
Last Modified: 2013-12-18
Qwaletee, I think by now you know the code I am refering to.  After I select the Role and hit OK.  The field RolesForACLName get populated with the names assigned to the role example.

CN=Joe Smoe/OU=TNT/O=Corp; CN=Chris Kringle/OU=TNT/O=Corp

Is there a way that this field on the main form could be a Dialog Field and the two names be [CN] and shown for selection.  It could even be a check box.  The problem I am having they may be 3 users in the same role, but only one needs to respond.  
Question by:Jaziar
    LVL 24

    Assisted Solution

    If the main form field is to be dialog field then use formula for keywords option and set to point a hidden field .

    Use this hidden field in your dialogbox.

    Also wrap the field around @Name([CN];hiddenField) in the dialog field formula

    LVL 31

    Accepted Solution

    In your setup, what I think would be best is if you did this in the main form, not the subform.  Hide the second field (NamesForACLRole).  Add a new field called SelectNameForRole, an EDITABLE listbox, use formula for choices, and enable refresh choices on document refresh.  The formula for SelectNameForRole choices should be: NamesForACLRole

    You shoudl also change the button.  It now just has @DialogBox(...) in it.  Add ;@Command([ViewRefreshFields]) to teh button.

    Now, NamesForACLRole is not visible, but does hold the choices for the new field, and the new field allows the user to select a name for the document.  The Refresh causes the new field's choices to update upon return from teh dialog box.

    Author Comment

    On the first past the form works perfectly, but if I click the dialog button again, the displayed value in SelectNameForRole always reflects the first value.  How would you remove the value and reset it to the current pick?

    Author Comment

    Never Mind I got it - Thanks

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

      In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
    IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now