Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My preview switches select areas
Message
De
22/09/2000 14:29:02
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
My preview switches select areas
Divers
Thread ID:
00419936
Message ID:
00419936
Vues:
100
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
Fil
Voir

Click here to load this message in the networking platform