Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Cursor Filter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00122805
Message ID:
00122987
Vues:
20
Hi,

Just go by OOPs.

You can put this in the INIT of the form.

Thisform.dataenvironment.cursor1.Filter = < Filter Condition >

Bye
Jayesh

>Is there anyway to set the filter on a view opened in the report.DataEnvironment at runtime ?
>
>I've tried setting the Cursor.Filter property in the BeforeOpenTablesEvent, but it doesn't work.
>
>Ideally, I would like to set a global variable to a filter expression and have the report set the filter for the view as it starts up.
>
>An example:
>I have a view that has every invoice in it. Sometimes I want to print all outstanding invoices, sometimes I want to print just one invoice, sometimes I want to print all invoices with duedates in the next week, etc.
>I would like to have the view just trade out the filter for the report.
>
>TIA
- Jayesh
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform