Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Question
Message
 
To
18/03/1999 08:34:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00199144
Message ID:
00199559
Views:
16
The PRINT button on the report preview has some problems with selecting the right data if tables are loaded or manipulated in the Report DE or Init(). I've found it simpler to develop my cursor (or table) and make sure it is selected before calling the report. That way the View and Print always see the same data.

HTH
Barbara

>I have a form with a grid and a Command button. The command button is used to check the entries in the grid.
> The click event of the Command button does the following
> Finds the error(s)
> Populates error table with error messages
> Allows the user to view or print the report
>This works fine
>
>I then wanted to run the error routine using the F12 key
>and calling the click event stated above.
>
>Everything works fine except when I click on the print button in the report view . It gives me an error message that indicates it is not looking at the right table. Note:The print error table is in the report database environment.
>
> The problem appear to be that the currently selected work area is shows the grid table as oppossed to the print err table.
>
>
> When I checked the currently selected work area in the 1st senario using only the click event, the currently selected work area was correctly indicating the error table and thus ran fine.
>
>Any suggestion on what is happening and how I can fix it.
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform