Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report lost it's table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00492166
Message ID:
00493473
Vues:
21
>>Help......
>>
>>I have a report that will preview the data correctly until you try to go to the next page or zoom in. I have determined it is due to the fact that even through the report is in preview on the screen the current table in the workarea is not the table for the report it's for the form. The program is not continuing execution though, I tested by placing a wait window in the code. I have tried all kinds of options in the dataenviroment. Occaisionally the report works the way it should, when this does happen(rarely) the correct table is selected.
>>
>>Any ideas???????
>
>Do you have form with a grid and focus is on this grid? If so, it's a culprit. Make sure, the focus is not on the grid in the time of report executing and hopefully it would solve your problem.


We had this problem;
something you are doing causes it to change the current work area. write a small udf that you can fire on the print when of the first field in the detail band that changes the work area to the correct on.


e.g. function setworkarea
sele thecorrectworkarea (the one you need)
return .t.

Good luck,


Eylon
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform