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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Overriding default QUOTING of text fields with WRITE 1

Status
Not open for further replies.

WildHare

MIS
Mar 1, 2002
1,801
US
Hi gang - have a process which writes text and numbers to a text file for another outside piece of software to grab and display on a large plasma TV screen.

The process works except for the fact that Acces/VB(A) surrounds all TEXT strings written to a file with Quotes, e.g.

"Joe"
"Blow"
1234

The other program chokes on the quotes. Short of editing the text file and doing a Find/Replace on " to NULL, does anyone know if there is an Access or VB setting or registry hack that can be done to override the quoting, so I can just write

Joe
Blow
1234

Example of the code:

Write #1, Fname
Write #1, Lname
Write #1, Account

Much Thanks In Advance for any suggestions...

Jim

Don't be sexist - Broads hate that.
Another free Access forum:
More Access help stuff at
 
HAve you tried to play with the Print # instruction instead of Write # ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Hi!

Had same problem a while back, and started using the filesystemobject. Here's one thread demonstrating some of the methods thread705-778800.

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top