Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
My preview switches select areas
Hello.
I have a report which is previewed from a form with a grid on it. The method of the form which prints the report is as follows:
LOCAL lnSelect
lnSelect = SELECT()
SELECT * FROM test INTO CURSOR rptTemp
REPORT FORM test PREVIEW
SELECT (lnSelect)
The report TEST.FRX has the following in it:
A text field which displays ALIAS() in the detail band.
If there are 6 records selected, the output looks like:
RPTTEMP
RPTTEMP
RPTTEMP
RPTTEMP
RPTTEMP
RPTTEMP
This is correct.
When the user presses the page-down key, the page number stays at 1, but the report says:
LV_TRAD
LV_TRAD
As I said, there is a grid on the form which is used to run the report preview. As you may have surmised, the recordsource of the grid is 'LV_TRAD'.
Sometimes, if there are a lot of records in rptTemp, the report will look like:
RPTTEMP
RPTTEMP
RPTTEMP
RPTTEMP
RPTTEMP
RPTTEMP
RPTTEMP
RPTTEMP
RPTTEMP
RPTTEMP
LV_TRAD
LV_TRAD
Any ideas on what would cause this odd and intermittent (though usually reproducible) behavior?
- George [Perplexed]
Suivant
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