Article ID: 145816
Article Last Modified on 2/12/2007
REPORT FORM Samples\Mainsamp\Reports\salessum NAME salessum PREVIEW ;
NOWAIT
** In VFP 7.0, use this line of code:
** REPORT FORM HOME(2)+"tastrade\reports\salessum.frx" NAME salessum PREVIEW ;
** NOWAIT
?salessum.Name && Returns DataEnvironment
?salessum.Cursor1.Alias && Returns sales_summary
For example, if you want to manually open the tables associated with a
report, you can call the OpenTables method of the data environment. The
following step-by-step procedure explains how.
REPORT FORM <reportname> NAME TEST &&Names the data environment TEST
PROCEDURE openall
IF <condition>
TEST.OpenTables && Calls the OpenTables method of the DE
ENDIF
RETURN ""
Additional query words: DE aselobj
Keywords: kbcode KB145816