Filtering records in list view (jobs)

transmin09transmin09 Member Posts: 13
Hi

we have several jobs ongoing for our company which are assigned a status on the job card eg ongoing, complete etc.

How do i ensure that when someone pulls up the list view of jobs it by defualt only shows the ongoing jobs and not the completed jobs ie automatically applies the filter.

Thereafter if someone wants to view all jobs they can unapply the filter.

Comments

  • garakgarak Member Posts: 3,263
    Use the
    Form - OnOpenForm()
    setfilter("FieldToFilter",ValueToFilter);
    

    and if there are many recs in your table, set also a key (setcurrentkey() or use property SourceTableView) to your FieldToFilter, so the view doesn't "hang"

    Regards
    Do you make it right, it works too!
Sign In or Register to comment.