Hopefully this is an easy question? Seems like it should be but I'm
very beginner at this.
I'd like to export the records from a query so that they have an actual
comma between them (exporting as a .csv only puts each record in a
separate row when opened in a text program or excel).
For example:
ID#
1
2
3
would export as:
1, 2, 3,
Any help would be greatly appreciated.
Thanks!
Carol 3 1240
DoCmd.TransferText acExportDelim, , "Table1", "MyFile"
strings are formatted as "content",
numerical values are formatted as value,
e.g.
1,"A","B","C"
2,"D","E","F"
3,"G","H","I"
MS Access - A legend in it's own time.
*** Sent via Developersdex http://www.developersdex.com ***
Ok, If I understood you right I tried it and it still produces
something I don't want.
Wouldn't your example be more like:
First name Middle Name Last name
Bob John Smith
Larry Ed Taylor
Tom Lee Jones
1, "Bob", "John", "Smith"
2, "Larry" "Ed" "Taylor"
3, "Tom", "Lee", "Jones"
What I want is, for example:
1, "Bob","Larry","Tom"
Is that more clear and is this different from what you suggested?
Thanks for the help
Carol
OK, if I understand you the following table
1, "Bob", "John", "Smith"
2, "Larry" "Ed" "Taylor"
3, "Tom", "Lee", "Jones"
4, "Bill", "Bobby", "Thorne"
Should produce the following output?
1, "Bob","Larry","Tom", "Bill"
2, "John","Ed","Lee","Bobby"
3, "Smith","Taylor","Jones","Thorne"
MS Access - A legend in it's own time.
*** Sent via Developersdex http://www.developersdex.com *** This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: David Sharp |
last post by:
Once I've converted my floats to chars using STR, is there an easy way
to put commas in separating the thousands.
i.e. convert
53000000.12
to
53,000,000.12
I'm thinking I'll have to do it...
|
by: sridevi |
last post by:
Hello
How to export data from ms-access database to excel worksheet using ASP.
mainly i need to export data to multiple worksheets. it is very urgent to
us.
i have a sample code which works...
|
by: dan graziano |
last post by:
I have a very large data set where I have to do considerable regrouping
of values and would like to know how you would suggest doing the
following regrouping?
The structure of the data set is...
|
by: nunYa |
last post by:
I am trying to use the DoCmd.TransferText method to export an access table
to
a Tab Delimited Text File. I have put the code behind the onclick event of
a button
and keep getting the error...
|
by: bienwell |
last post by:
Hi,
I have a question about exporting data from datagrid control into Excel file
in ASP.NET. On my Web page, I have a linkbutton "Export data". This link
will call a Sub Function to perform...
|
by: thebjorn |
last post by:
I'm working with a MS SQL Server database created by a program from a
fine US company who seems to have gotten run over by the Unicode truck.
In their infinite wisdom they've decided to store...
|
by: Tyler |
last post by:
Hello All:
After trying to find an open source alternative to Matlab (or IDL), I
am currently getting acquainted with Python and, in particular SciPy,
NumPy, and Matplotlib. While I await the...
|
by: thanawala27 |
last post by:
hi
I dont know how to seperate a string containing commas.
suppose i have a string
$text = "this, is, fine";
i want to seperate the above string into
this
is
fine
|
by: TYR |
last post by:
I have a large dump file that originated in a MySQL db; I need to get
it into an SQLite file.
Various options are suggested around the web; none of them seem to
work (most failing to import the...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |