• Combo Box (ACC 2K)

    Author
    Topic
    #384290

    I have a field called AppStatus with combo boxes (NEW, DSS, REDET etc.) field called EAPP with a data type Y/N. The only time EAPP checked yes is when the user select NEW or REDET. How can this be accomplished and where exactly ?

    Thanks,
    DD

    Viewing 0 reply threads
    Author
    Replies
    • #658696

      In the after update event for the AppStatus field put this code:

      if ((me![AppStatus] = "NEW") or (me![AppStatus] = "REDET")) then
        me![EAPP] = true
      else
        me![EAPP] = false
      end if
      

      On the form you might also disable the EAPP control so that the user can’t put the wrong thing in it.

    Viewing 0 reply threads
    Reply To: Combo Box (ACC 2K)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: