Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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 November 27th, 2007, 03:41 PM
Registered User
 
Join Date: Nov 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default data output

Could some show me how to output a row of data vertically instead of horizontally.
Ex. 123456 (original)

final output

1
2
3
4
5
6



 
Old November 28th, 2007, 02:11 AM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Not sure where you want to put the data into

Try if the following link helps

http://vbadud.blogspot.com/2007/03/t...cel-range.html
Cheers
Shasur

http://www.dotnetdud.blogspot.com

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
 
Old November 28th, 2007, 10:09 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

When you say a row of data, do you mean that the values "123456" are in seperate fields, like

Col1 Col2 Col3 Col4 Col5 Col6
1 2 3 4 5 6

Or that the data is all in one field, like this

Col1
123456

Or some other configuration?

Also, when you say "output", what format is that? Datasheet or Report?



mmcdonal

Look it up at: http://wrox.books24x7.com
 
Old November 28th, 2007, 11:24 AM
Registered User
 
Join Date: Nov 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The values 123456 represent separate column, like

Col1 Col2 Col3 Col4 Col5 Col6
1 2 3 4 5 6

I would like to store the in a text file.




 
Old November 28th, 2007, 11:34 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

So I am assuming then that you have some sort of method of retrieving one row of data to output to a text file. Is that a query, or are you taking parameters from a form, and then retrieving the data, and then outputting it to a text file?

Where do you want the text file saved, and what named? Or will you allow the user to chose the location and the name?



mmcdonal

Look it up at: http://wrox.books24x7.com
 
Old November 28th, 2007, 01:10 PM
Registered User
 
Join Date: Nov 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have query that generates a table with the row of data. A second query saves the info to a text file.





Similar Threads
Thread Thread Starter Forum Replies Last Post
matching the output and displaying the data ct Excel VBA 0 April 13th, 2006 04:01 AM
Output loop data to a string iloveoatmeal Classic ASP Basics 2 December 22nd, 2005 08:28 PM
About output data to excel momowu0701 Beginning VB 6 0 March 1st, 2005 09:31 AM
how to index output data using Response.write mqnguyen Classic ASP Basics 2 July 15th, 2003 11:49 AM





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