August 23, 2006, 02:37 PM
neuroDynamic Graph within REPEAT
Yet another one with the REPEAT, I am going to use an example I found in another thread.
Say I have a Graph File within a REPEAT loop, is there a way to have a dynamic variable for the image name? Say something like G | &Cnt for every loop the process goes.
GRAPH FILE CAR
SUM DEALER_COST
ACROSS COUNTRY
ON TABLE HOLD AS G1 FORMAT SVG
END
-RUN
SET PAGE=NOLEAD
TABLE FILE CAR
HEADING
" "
SUM COUNTRY NOPRINT
ON TABLE SET STYLE *
TYPE=REPORT, IMAGE=G1.SVG, POSITION=(1 2), SIZE=(8 5), $
ENDSTYLE
ON TABLE PCHOLD FORMAT PDF
END
August 23, 2006, 03:06 PM
Pam KrattYes. I do the following:
ON GRAPH SAVE AS TWRRGR&COUNT FORMAT SVG
To display in PDF, use:
TYPE=REPORT, IMAGE=TWRRGR&COUNT.EVAL.SVG, POSITION=(0.5 1.65), SIZE=(9.5 6.0), $
Hope this helps.
August 24, 2006, 10:32 AM
neuroAgain, that works great as well!
Many Thanks!