>>>How do you display your REPORT if you do not want to use
>>>REPORT FORM myreport PREVIEW?
>>
>>I would imagine there are lots of ways to do it. One method I have used in the past is .....
>>
>>REPORT FORM myreport TO FILE outfile ASCII
>>MODI COMM outfile NOEDIT
>
>Hi Eugene - thanks for that good answer... and it works. Now I need
>to be able to put a TOOLBAR in with the REPORT so the user can do things
>to the REPORT like the same things the REPORT PREVIEW TOOLBAR does.
>The reason why I do not use the REPORT PREVIEW TOOLBAR is because it will
>not allow me to add some more buttons. Got any ideas...
Well, lets see..you may be able to reference the window of the MODI COMM by specifying the title to the window, but this is FP2.x coding (yech!!!) hehehe
Another possibility I see is to save the file into a memo field after writing it out, then you can display it in an edit box on a form. That way you can reference the edit box from the toolbar.
REPORT FORM...
APPEND MEMO (memofld) FROM (filename)
loForm = CREATEOBJECT("formclasswitheditbox") OR
DO FORM formwitheditbox
You will create an instance of the toolbar from within the form...this way you will be able to tie the toolbar and the form together. This should give you total control over what you want to do with the output, including changing the font size to make it larger.
HTH
GeneS
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement