help me soon DoCmd.TransferDatabase in VB6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amitkumar19
    New Member
    • Feb 2008
    • 4

    help me soon DoCmd.TransferDatabase in VB6

    hello dear
    when i use this statements in vb6 for transfer data to one another

    DoCmd.TransferD atabase acImport, "dBase III", "C:\Data", acTable, _
    "Test112A.d bf", "TempFile"

    then give a error msg " this operation required open data base.
    whats the reason can i open databse connection or not

    i used refrence like
    1> microsoft dao3.51 object library
    2> microsoft access 10.0 object library
  • creative1
    Contributor
    • Sep 2007
    • 274

    #2
    If you write code before this posted code then it will easy to see whats going there? If open connection string before this statement and then try it again it might be fixed.

    Comment

    Working...