Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report from form
Message
From
04/09/2007 16:00:38
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01252308
Message ID:
01252312
Views:
16
>I have a form with two tables on date
>
>The two table has a relation
>
>Two grids are on the form and the child_grid obeys the mother_grid
>
>However when I print, all the records of the child_grid are printed, and the relation is not considered
>
>The dataenvironment of the report is empty, I and using since the form
>
>Moises

I don't recall all the issues, but there have been a number of problems when calling reports while a grid has focus. So.......

Make sure you set the focus off either of the grids when you call the report.
Also make sure that the active workarea points to the current table.
somecontrol.setfocus()
SELECT parenttable
REPORT FORM etc
Previous
Reply
Map
View

Click here to load this message in the networking platform