Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem filtering child table in a grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00064598
Message ID:
00064874
Vues:
34
>I get a syntax error when attempting to set the filter for the child table in a grid on a 1 many form.
>
>thisform.dataenvironment.cursor2.filter = task.startdate = ld_date
>
>Does anyone see what could be wrong with the above line?

Evan, first put your filter in quotes

thisform.dataenvironment.cursor2.filter = "task.startdate = ld_date"

Second, be sure that ld_date will be visible whereever you use the filter. (If you set it in a method, it may go out of focus.)

Finally, try using the grid properties (LinkMaster, ChildOrder, etc.) to show the correct records instead of a filter.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform