Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. ADO + SQL + FOXPRO Question/problem

ADO + SQL + FOXPRO Question/problem

Scheduled Pinned Locked Moved Database
helpdatabasequestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    iluha
    wrote on last edited by
    #1

    Hello, I have a problem that i cannot solve. The problem shows up in XP, the code works fine in 98SE Please if you know the answer help me The code: conITEMS.Open "Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDb=" & "D:\work\old" rsITEMS.CursorLocation = adUseClient rsITEMS.Open "SELECT * FROM STOCK", conITEMS, adOpenStatic, adLockPessimistic rsITEMS.MoveFirst rsITEMS.Find ("number = '2004'") This is where it fails with error = Run-time error '2147467259 (80004005)' "data provider or other service returned an E_FAIL status" Thank you in advance Ilya :(

    M 1 Reply Last reply
    0
    • I iluha

      Hello, I have a problem that i cannot solve. The problem shows up in XP, the code works fine in 98SE Please if you know the answer help me The code: conITEMS.Open "Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDb=" & "D:\work\old" rsITEMS.CursorLocation = adUseClient rsITEMS.Open "SELECT * FROM STOCK", conITEMS, adOpenStatic, adLockPessimistic rsITEMS.MoveFirst rsITEMS.Find ("number = '2004'") This is where it fails with error = Run-time error '2147467259 (80004005)' "data provider or other service returned an E_FAIL status" Thank you in advance Ilya :(

      M Offline
      M Offline
      Marek Konieczny
      wrote on last edited by
      #2

      Hi It is probably because VFP Drivers are not included in MDAC 2.6 and above. You can download this drivers from Microsoft Visual FoxPro page. Here is the link http://msdn.microsoft.com/vfoxpro/downloads/addons/odbc.asp Greeting Marek

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups