Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement