-
how to save data into free format file or txt file
hi....i'm quite new to vb. just wanna ask 1 question here. how can we save data from a table of an access file into a text file or what ever format it is, that will look like these....
ordinary text file saved from a report ( 3 columns )
name id gender
john 67435 male
what i am looking for will look like these
john67435male <--- without spaces in between
i've tried using datareport in VB but i still cannot do it.maybe there is another way.
if someone out there have a knowledge on this, please share it with us. thank you.
-
Welcome to DevX 
Do you have a query written that will retrieve the data for you?
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
-
use :
Open FileName for OutPut as #1
print, #1, "someStringsOrMaybeVariable"
close #1
after print #1, (..) you can put strings, maybe a variable : print #1, varname ... maybe for multilines you need :
print #1, strVar & vbcrlf
print #1, strTwo & vbcrlf
close #1 ...
hope this can help
Similar Threads
-
Replies: 7
Last Post: 10-08-2006, 08:59 AM
-
By bond_ankur in forum Java
Replies: 0
Last Post: 04-07-2006, 01:30 PM
-
By Andrew Merisanu in forum Architecture and Design
Replies: 13
Last Post: 02-18-2002, 02:51 PM
-
By KENHOW in forum VB Classic
Replies: 0
Last Post: 07-13-2001, 04:02 PM
-
By DH in forum VB Classic
Replies: 5
Last Post: 08-25-2000, 09:51 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks