Print to File - VB Code?

currie

Registered User.
Local time
Today, 20:22
Joined
Jun 19, 2001
Messages
21
Does anyone know if there is code to print to a file? I cant dig anything up in the help or on Microsoft's website. Any help would be greatly appreciated.


- Ryan
 
You can use the TransferText Method/Action to create text files in either fixed or delimited formats. Read both help entries for a full picture. If you want to create a fixed format text file, you will need to create an export spec. The only way to do this is to export the file once manually to create the spec. There is a wizard that walks you through this process. However, it is not obvious that you will need to press the advanced button from the final form in order to actually save the spec.

Once the spec is saved you can reference the named spec in the TransferText Method/Action to automate the process.
 

Users who are viewing this thread

Back
Top Bottom