Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Faxing saved reports
Message
De
28/05/1998 15:20:09
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00102174
Message ID:
00102861
Vues:
28
Kia,

How would I get the file into a general field? I created the file but the append general command gives me an error creating OLE object so I assume I need a class on the line but don't know what to use. Suggestions?

Thanks again,

Sally



>Sally;
>Here's another way that you may want to try, however the one of the limitations of this scheme is that all preinters used on the network have to be of the same make, or at the very lease support the same emulation.
>you can create a printer with it's output directed into a file. then follow these steps:
>- print the report, which is saved to a file ... lets say C:\TEMP\printer.bin
>- right after the report is saved open the file and read the file into a memo or a general field, or you can even rename and copy the file to a directory and reference it by it's name.
>- you can now DELETE C:\TEMP\printer.bin file.
>- Now you can choose from a number of saved reports and copy the file to another printer.
>
>This way it doesn't matter what is included in the report .... text, bitmaps .... however since the escape codes are specific to the printer, you may get some funny characters, or garbage if you try to copy the file to a different type of printer.
>
>See if this works for you..
>
>Kia
>
>
>
>>>Sally;
>>>if the reports aren't very large, then you may want to create tables to store your query results and print your reports from the "report" table set.
>>>..or how about using FoxWord (can find a demo copy in files/3rd party) and save a RTF version of the report, then using either activeX or DDE activate WORD and print the file at a later time..
>>>
>>>hope this helps
>>
>>Kia,
>>
>>My report has graphs in it that are printed on the report form as bitmaps so I don't think I can use tables to store the report unless I somehow put the report in a general field.
>>
>>My other problem is that this application is to be on many different pcs and not all have or can get MSWord.
>>
>>Any other tricks that may work? Thanks for the help!
>>
>>Sally
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform