Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Seek
Message
 
 
To
07/12/1999 15:17:55
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00299964
Message ID:
00299966
Views:
20
>I want a report based upon one record of a table. The table is indexed. I thought I could seek on a variable set by an other form in the data environment of the report. When I preview the report it defaults to the first record. Thanks for your help.

Save yourself some hassle. Use SQL to put the record into a cursor and use this for the source of the report

SELECT * FROM members WHERE name = "STEVEN" INTO CURSOR cReport
SELECT cReport
REPORT FORM rPerson PREVIEW &&& or NOCONSOLE TO PRINTER

This will allow to you to print the report, preview it and also print properly from preview.
Previous
Reply
Map
View

Click here to load this message in the networking platform