Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My preview switches select areas
Message
From
22/09/2000 14:29:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
My preview switches select areas
Miscellaneous
Thread ID:
00419936
Message ID:
00419936
Views:
101
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]
Next
Reply
Map
View

Click here to load this message in the networking platform