Solved

How to export a blank column from an Access db

Posted on 2009-04-08
4
187 Views
Last Modified: 2013-11-27
I am trying to export a .csv file from an Access database using a simple query.
I have the basic mechanism working, but I need to create the .csv files with 2 blank columns.  It is here that I have drawn a blank.
The Access query defines the format of the .csv file, but I can't set up a blank (or dummy) column in the query.

Has anyone any ideas?

Best regards

Richard Tomalin
0
Comment
Question by:rltomalin
  • 3
4 Comments
 
LVL 65

Expert Comment

by:rockiroads
ID: 24095915
you can try this in your query

"" as  blankcol1, "" as  blankcol2

in amongst your other fields you have selected
0
 
LVL 65

Accepted Solution

by:
rockiroads earned 500 total points
ID: 24095962
If u use query design to create your query, add two new fields like this

BlankCol1: ""
BlankCol2: ""

0
 

Author Closing Comment

by:rltomalin
ID: 31567973
That looks like it.  I knew it would be simple (but so am I sometimes!!)

Best regards
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 24096279
so was it not quite the solution you wanted?
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now