Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OpenTextFile Method - mixed tristate format???

Status
Not open for further replies.

VBAinspire

Programmer
Aug 8, 2001
10
US
In Microsoft Access 2000, I am importing text files from multiple users and then programmatically reading the text files to determine what data the files contain. My problem is that some of the files are created in UNIX and some are created in Windows. Access sometimes has problems finding the end of the first line.

I am using the following method:

object.OpenTextFile(filename[, iomode[, create[, format]]])

In VB it is possible to set the format to "TristateMixed" which opens either Unicode or ASCII formatted files.

In VBA there was no "TristateMixed" option, just a choice between Unicode and ASCII.

Any suggestions?

Thank you!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top