|
-
Nov 9th, 2000, 08:54 AM
#1
Thread Starter
Lively Member
Hi everyone,
I want to export a comma delimted text file in to an Access table. Is there any VB command to do this?
Your help is greatly appreciated.
Thank you.
Rathi.j
-
Nov 9th, 2000, 09:38 AM
#2
Fanatic Member
ok...
One thing we should never neglect before submitting a post is to do a search before.... in VB world... Here is what I found...doing so... I think Chris may have tackled this before
Dim Myaccess As Access.Application
Set Myaccess = CreateObject("Access.Application")
With Myaccess
.Visible = False
.OpenCurrentDatabase "Cool.mdb"
.DoCmd.TransferText acExportDelim, , lstExport, txtName
.Quit
End With
Trouble is...it asks for the database password which I would rather hard code..any ideas where I can put it?
__________________
- Chris
[email protected]
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
|
Click Here to Expand Forum to Full Width
|