ID: Q111998
2.50 2.50a 2.50b 2.60 WINDOWS kbinterop kbprint kbole kbgraphic kbprg
The information in this article applies to:
Graphics created in the Relational Query By Example (RQBE) tool using Microsoft Graph can be used within FoxPro applications. The graphic images can be previewed or printed in the Report Writer.
To include the graphic image in the Report Writer, do the following:
1. Save the graph created in either Microsoft Graph or RQBE. The file
containing the graphic image is called QRYGRAPH.DBF by default in
RQBE.
2. Use the QRYGRAPH file generated previously in RQBE or Microsoft
Graph.
3. Create a report and select the Picture tool from the toolbox.
4. Position the cursor where you want the image to be displayed on the
report form.
5. From the Report Picture dialog box, select the Picture From Field
option.
6. Select the general field called OLEGRAPH from the file named
QRYGRAPH.DBF.
NOTE: In FoxPro 2.6, "graph" is a reserved word. Do not use the word
"graph" in a table name, report name, or name of a general field.
7. Under "If Picture and Frame Different Size," select "Scale Picture --
Retain Shape," and then choose OK.
8. Size the image by dragging the corner of the object to the desired
height, width, and size.
9. Save the report form.
"Developer's Guide," version 2.5, page D13-9
Additional reference words: FoxWin 2.50 2.50a OLE Graph RQBE 2.50b 2.60 KBCategory: kbinterop kbprint kbole kbgraphic kbprg KBSubcategory: FxinteropOle
Keywords : FxinteropOle
Version : 2.50 2.50a 2.50b 2.60
Platform : WINDOWS
Last Reviewed: October 19, 1996