Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 24th, 2004, 11:36 AM
Authorized User
 
Join Date: Jul 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default More Export.csv mayhem

Hi All,
I've got a similar problem to grahampinkney with exporting to csv. I have to export to a csv file so it can be read by other software over which I have no control. Problem is - empty fields need to be shown as "" in the csv file. Each field which has something in it has the quotes as the text qualifier but empty fields have nothing and display as:
             "string","string",,,"string" etc.
I need
             "string","string","","","string" etc.
Yes, I can find and replace consecutive commas with double quotes inserted in the csv file but it won't actually be me that's doing it as an ongoing task so the simpler the solution the better.
Any bright ideas anyone?
Cheers
M
 
Old February 24th, 2004, 12:52 PM
Ben Ben is offline
Authorized User
 
Join Date: Jun 2003
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try the NZ formula on the query to replace blanks with ""





Similar Threads
Thread Thread Starter Forum Replies Last Post
DataSet export to .csv file snufse1 ASP.NET 2.0 Basics 3 September 22nd, 2008 07:22 AM
Csv Export Coby Access VBA 4 July 25th, 2007 08:19 AM
How do I export data from a DataViewGrid to a CSV pauljohns353 VB How-To 1 November 22nd, 2006 11:57 AM
Export To .csv File paul31Hampshire Access VBA 18 June 26th, 2006 11:30 AM
Export csv grahampinkney Access 3 February 21st, 2004 07:35 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.