Text File Extension Name Is Forced to .TXT?
I have some people moving from a version of my application using RB 10
to RB 14, and I am getting reports of a problem with printing to text
file and the extension name is being forced to .TXT even though the
user specifies .IIF.
These reports are being used to export data into .IIF files so that
they can be imported into QuickBooks.
Has something changed in the versions such that RB does not allow
exporting tab delimited text files with a user specified filename
extension? Or is there a property that I need to change to allow
specifying the file extension name when Print to File is used?
--
to RB 14, and I am getting reports of a problem with printing to text
file and the extension name is being forced to .TXT even though the
user specifies .IIF.
These reports are being used to export data into .IIF files so that
they can be imported into QuickBooks.
Has something changed in the versions such that RB does not allow
exporting tab delimited text files with a user specified filename
extension? Or is there a property that I need to change to allow
specifying the file extension name when Print to File is used?
--
This discussion has been closed.
Comments
customers can email support@ and request the patch.
From your description sounds like you are exporting to Quickbooks quite
often. You might want to create a TppTextFileDevice descendant and override
the DefaultExt, DefuleExtFilter, and DeviceDescription methods. Then
register your TmyQBFileDevice with RB and it will appear in the list of
available export devices. See ppFilDev.pas for details.
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com