• Type & Application fields

    By David Hope 2 decades ago

    Is there a way that the application field selection can be made dependant upon what has been selected within the Type field? i.e. what currently happens with the Application and failure type fields.



    If this is possible could you tell me how to go about doing this myself?

    • Yes this is possible depending on some other factors

      By Thomas Schulte 2 decades ago

      You should have some experience with the designer to achieve this.



      But basically it is easy:

      • Open Database in designer
      • Chose Form BugReport
      • Goto the field Failuretype
      • Copy the selection formula from the field Failuretype

        This one:

        keydependsfrom := "FailureTypedependandfrom";

        dependsfrom := @DbLookup( "" : "NoCache" ; "":"" ; "($LUConfig)" ; keydependsfrom ; 2; [FailSilent]);

        key := @If(dependsfrom != "";"failuretype" + dependsfrom + "" + @GetField(dependsfrom);"failuretype");

        value := @If(dependsfrom != "";@DbLookup( "" : "NoCache" ; "":"" ; "($LUConfigDependand)" ; key ; 2; [FailSilent]);@DbLookup( "" : "NoCache" ; "":"" ; "($LUConfig)" ; key ; 2; [FailSilent]));

        value
      • Goto the field Application

        Insert the copied selection formula and change these lines

        keydependsfrom := "Applicationdependandfrom";

        dependsfrom := @DbLookup( "" : "NoCache" ; "":"" ; "($LUConfig)" ; keydependsfrom ; 2; [FailSilent]);

        key := @If(dependsfrom != "";"application" + dependsfrom + "" + @GetField(dependsfrom);"application");
      • Add a new single keyword in the administration part of the database. This keyword must be "Applicationdependandfrom" and contains the fieldname of the field where the value has to come from.
      • add new dependand keywords as described in the "How to configure dependand keywords" document here.



        Thats it.
      • By David Hope 2 decades ago

        That worked. Thank you



        One last thing can you tell me where I can rename the Attach File and Import links on the New Ticket?