Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - How do you display your REPORT?
Message
De
13/05/1997 10:50:52
 
 
À
13/05/1997 09:17:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00031762
Message ID:
00031943
Vues:
50
>>>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
Fil
Voir

Click here to load this message in the networking platform