General information
Category:
Reports & Report designer
>Sorry, again with the report form preview: (VFP 5.0 spanish version)
>
>I am trying to make my report form preview work .
>I was looking and searching in all the UT for a lot.
>I found a lot of answers, and i tried it:
>
>DEFINE WINDOW pepe FROM 1,1 TO 20,100 NAME mariano SYSTEM FLOAT CLOSE ZOOM MINIMIZE
>mariano.SHOW()
>--- It Works !!
>
>mariano.CAPTION="hola"
>--- Again it works....
>
>REPORT FORM gamas1 PREVIEW WINDOW pepe NOWAIT
>--- Wonderful .....
>
>
>mariano.CAPTION="adios"
>--- :-( @#*!!
>
>well, I look at the window menu an there are two windows!!: 1:"hola" 2:"adios"
>
>I need it in SDI forms, but first i tried it in normal forms.
>
>What is wrong?
>thank you
The REPORT FORM command's WINDOW clause makes the preview take on the characteristics of the DEFINEd window. It is not necessary to .Show() the defined window before the REPORT FORM command.
HTH
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only