Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent ADO from converting text in text file?
Message
De
30/08/2000 10:01:20
 
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00410408
Message ID:
00410708
Vues:
14
If I understand you, you can use FileSystemObject(FSO).
Open a reference to Microsof Scripting Runtime, and then....
Dim a As Scripting.TextStream
Dim b As Scripting.FileSystemObject
Set a = b.OpenTextFile("YourFile.csv")
This, put your csv file, line by line in a TextStream Object, then you can cut line in pieces (well, pieces separated by commas) using Mid, Left, and other VBA string functions.
Try it!!!
I hope help you with this.

German
glurrea
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform