Visual FoxPro driver for 64 bit Windows 7

前端 未结 3 1603
孤独总比滥情好
孤独总比滥情好 2021-02-13 18:09

I\'ve installed Visual FoxPro driver from this link on my 64 Bit Windows 7 Home Premium OS and tried to register vfpoledb.dll using REGSVR32. I could able to register this dll b

3条回答
  •  不知归路
    2021-02-13 18:51

    It's a bit late, but may help somebody else:) You can use Advantage OLE DB Provider for Windows 64-bit, which works like VFPOLEDB. Example in python:

    conn = win32com.client.Dispatch('ADODB.Connection')
    dsn = 'Provider=Advantage OLE DB Provider;Data Source=%s; ServerType=ADS_LOCAL_SERVER; TableType=ADS_VFP;' % folder
    conn.Open(dsn)
    cmd.CommandText = 'ALTER TABLE test ALTER COLUMN area NOT NULL'
    cmd.Execute()
    

提交回复
热议问题