Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem filtering child table in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00064598
Message ID:
00064874
Views:
29
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform