Setting a FILTER on a FORM

BurneBurne Member Posts: 12
Hello,
I'm trying to accomplish the following:

FormA is a form that displays records from TableA by virtue of the SourceTable property. FormB runs FormA as RUNMODAL, only I want to filter the records that will be displayed on FormA before I call RUNMODAL on FormA.

How can I do this?

Thank you in advance.

Paul.

Answers

  • mightykidmightykid Member Posts: 23
    declare variable for TableA, apply filter then call
    FORM.RUNMODAL(FORM::FormA, TableA)
  • bbrownbbrown Member Posts: 3,268
    Set this filter using a filtergroup > 0. This will prevent the user from clearing your default filter. See Filtergroup in C/Side help for more info.
    There are no bugs - only undocumented features.
  • BurneBurne Member Posts: 12
    mightykid and bbrown - thank you. Got the filter working.

    Paul.
Sign In or Register to comment.