???一段访问DBF库的代码,出现了运行出现外表不是预期的格式的提示,如何处理???

sl80509 sl80509 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
table_name = ListBox1.List(ListBox1.ListIndex)
DataGird1.Caption = table_name
provider = "provider = microsoft.jet.oledb.4.0"
datasource = "data source= " & App.Path + "\;Extended properties=dBase 5.0"
Adodc1.ConnectionString = provider & ";" & datasource
Adodc1.CommandType = adCmdTable
Adodc1.RecordSource = table_name 'dbf文件名
Set DataGrid1.datasource = Adodc1
Adodc1.Refresh

多谢 zsgzsgzsg(zsg),但是改完后。运行出现外表不是预期的
格式提示,我用的是VFro6.0建立库
...全文

相关推荐

评论 5
收藏 已收藏
分享
返回顶部