473,478 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Using Visual Basic 6.0, How can I convert a SQL table into a .DAT

Ok, I would like to find a way to convert a MS SQL table with data into a
coma delimited .DAT file.

This is the format that i am trying to get:

"6020051013A",1,,"0010000","100620",60,"10132005", ,"INCOMING",,,-3126.45,-3126.45,,,,,"10132005"," "," "
"6020051013A",2,,"0010000","287000",60,"10132005", ,"INCOMING",,,-410765.07,-410765.07,,,,,"10132005"," "," "
"6020051013A",3,,"0010000","187010",60,"10132005", ,"INCOMING",,,-20491.85,-20491.85,,,,,"10132005"," "," "
"6020051013A",4,,"0010000","187010",60,"10132005", ,"INCOMING",,,-0.02,-0.02,,,,,"10132005"," "," "
"6020051013A",5,,"0010000","100625",60,"10132005", ,"INCOMING",,,-1847366.42,-1847366.42,,,,,"10132005"," "," "
"6020051013A",6,,"0010000","287000",60,"10132005", ,"INCOMING",,,-11436.16,-11436.16,,,,,"10132005"," "," "
"6020051013A",7,,"0010000","187010",60,"10132005", ,"INCOMING",,,-400.00,-400.00,,,,,"10132005"," "," "
"6020051013A",8,,"0010000","100625",60,"10132005", ,"INCOMING",,,3126.45,3126.45,,,,,"10132005"," "," "
"6020051013A",9,,"0010000","187010",60,"10132005", ,"INCOMING",,,410765.07,410765.07,,,,,"10132005 "," "," "
"6020051013A",10,,"0010000","106000",60,"10132005" ,,"INCOMING",,,20491.85,20491.85,,,,,"10132005","G LTRANS","GLTRN"
"6020051013A",11,,"0014250","595010",60,"10132005" ,,"INCOMING",,,0.02,0.02,,,,,"10132005"," "," "
"6020051013A",12,,"0010000","187010",60,"10132005" ,,"INCOMING",,,1847366.42,1847366.42,,,,,"10132005 "," "," "
"6020051013A",13,,"0010000","187010",60,"10132005" ,,"INCOMING",,,11436.16,11436.16,,,,,"10132005", " "," "
"6020051013A",14,,"0010000","255055",60,"10132005" ,,"INCOMING",,,400.00,400.00,,,,,"10132005"," "," "

Nov 21 '05 #1
2 1061
"Eduardo78" <Ed*******@discussions.microsoft.com> schrieb:
I would like to find a way to convert a MS SQL table with data into a
coma delimited .DAT file.


This is a VB.NET group. You will more likely get an answer to your question
in the VB6 database-related groups ("microsoft.public.vb.database[.*]").

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2
Using VB.NET (Ok a.h.) sorry!

"> > I would like to find a way to convert a MS SQL table with data into a
coma delimited .DAT file.


This is a VB.NET group. You will more likely get an answer to your question
in the VB6 database-related groups ("microsoft.public.vb.database[.*]").

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
8676
by: Curtis Tammany | last post by:
Hello- Can someone tell me if DSOFile.dll can be accessed within ASP.NET? DSOFile.dll is registered and I have no problem using it in my .ASP scripts. I have tried the following: Dim...
8
5646
by: delete table with Visual Basic 6 | last post by:
Dear developer, I have an error message when I try to delete or drop Microsoft Access XP table with ADOX in Visual Basic 6. I use the ADOX.Catalog and ADOX.table to create and delete or drop table...
3
1323
by: Mihaly | last post by:
Hello, i'm trying to use a Visual C++ COM Object in my ASP .NET application, but i can't use that directly, i have to do a wrap, but i can't do it directly, first i have to convert the visual c++...
5
2163
by: rss | last post by:
Microsoft gives the following get available space function but no C# function and I have seen that a lot where system functions like that are only shown with examples for VB (Visual Basic) Can...
5
1352
by: Alex Bilger | last post by:
Is there a way to override Visual Basic Implicit Conversions ? for example: ---- Dim s As String Dim i As Integer i=s s=i ---
6
17126
by: ransoma22 | last post by:
I developing an application that receive SMS from a connected GSM handphone, e.g Siemens M55, Nokia 6230,etc through the data cable. The application(VB.NET) will receive the SMS automatically,...
1
2637
by: vidhyaprem | last post by:
i have started a small project in visual basic regarding the stock details in our textile company.It has details like product id,product name,no of items,product picture etc.. so i have created a...
1
2874
by: chrspta | last post by:
I am new to Visual basic. I need a program using VB6 that converts txt files to excel file.Description is in the below: The form should have the Drive list, Dir list, file list and cmdConvert...
1
1332
by: nitdesh | last post by:
Hi , I have Just Registered to This Site and Deeply Require a Help For my Software . I am Into Warehousing Business I Have Front End as Visual Basic 6.0 and Backend as SQl 7.0 Database ...
0
7027
marktang
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,...
0
6899
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7019
Oralloy
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,...
0
7067
jinu1996
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...
0
6847
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5312
agi2029
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,...
1
4757
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
2980
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
555
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.