Results 1 to 8 of 8

Thread: exporting tables from access

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    didn't decide yet
    Posts
    566

    exporting tables from access

    how could i export a table from access in dbase format without using access core libraries if possible using ado or adox or even dao

    thnks
    Come and get our ISDN CallerID http://www.3wm.biz

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    This won't work for you?

    VB Code:
    1. Dim Myaccess As Access.Application
    2.  
    3. Set Myaccess = CreateObject("Access.Application")
    4.  
    5. With Myaccess
    6.  
    7. .Visible = False
    8.  
    9. .OpenCurrentDatabase (TimeDatabase)
    10.  
    11. ' Try to replace this area for text files
    12.  
    13. .DoCmd.TransferDatabase acExport, "dbaseIV", "c:\osmsys\data\rarch", , "DATATABLE", "OUTSOURCE.dbf"
    14.  
    15. .Quit
    16.  
    17. End With

    Why not?
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    didn't decide yet
    Posts
    566
    i remember that James but that needs access installed no thats no good
    Come and get our ISDN CallerID http://www.3wm.biz

  4. #4
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    Perhaps you could recreate the table in code.
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    didn't decide yet
    Posts
    566
    u could use a statemant like

    Code:
    SELECT [Id],[f] INTO [dBASE III;Database=E:\Documents and Settings\Administrator\Desktop\New Folder (3)].[e.dbf] FROM [Table1]
    but that doesn't create index files and withut index files the speed is very slow
    Come and get our ISDN CallerID http://www.3wm.biz

  6. #6
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    As a question - can you not use the statement you posted but then reopen it and add in the indexes?

    Does it have to be dbase? Could be csv??


    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    didn't decide yet
    Posts
    566
    thnks for the effort Ecniv found the solution by using ADOX i think thats the best library ever very easy and cause i m little curius what exactly is cvs
    Come and get our ISDN CallerID http://www.3wm.biz

  8. #8
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    text file comma separated variable

    np... good that you found the answer ADOX is it then huh ?

    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width