How to filter the active = true in reference field

littlelingling0
Tera Contributor

Dear Sir,

I had create a 'Contract' table. When I open the reference field (click the search button), it will show all the information in the table. Can I use some scripting or other method to limit the information of the table, such as only active = true, expire date > today.

Screen Shot 2017-05-17 at 09.57.21.png

I tried to setup a filter like above picture, but I hope the filter is already used when I opened. No need to click the 'Contract is true' for every time.

Thanks.

Best regards,

Ling

1 ACCEPTED SOLUTION

amlanpal
Kilo Sage

Hi Sin,



It's easy to configure. You need to go to the dictionary of the Field by right clicking on it and under 'Reference Specification' tab set the Filer condition there. Please find the screenshots below:


find_real_file.png


find_real_file.png



I hope this helps.Please mark correct/helpful based on impact


View solution in original post

4 REPLIES 4

benc
Tera Contributor

Hi there,



You can do this using a Reference Qualifier: Configure reference qualifiers. A reference qualifier allows you to specify filter conditions that will limit the related records you can put in the reference field to those that meet the condition you specify. If you just want to filter on simple field values (like the ones you specify, active=true, date > today, etc), a Simple reference qualifier will probably work just fine.


Madhu27
Tera Expert


System administrators can configure reference qualifiers through the system dictionary.


  1. Navigate to the reference field on the form you want to edit.
  2. Right-click the form label and select Configure Dictionary.The Dictionary Entry form opens.
  3. To change views, select Default view or Advanced view under Related Links.
  4. Specify the table
  5. select the type of qualifier in the Use reference qualifier

    6. Configure the qualifier: Build the condition that you want to filter


    7. Update


amlanpal
Kilo Sage

Hi Sin,



It's easy to configure. You need to go to the dictionary of the Field by right clicking on it and under 'Reference Specification' tab set the Filer condition there. Please find the screenshots below:


find_real_file.png


find_real_file.png



I hope this helps.Please mark correct/helpful based on impact