博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
查询窗体的制作
阅读量:7154 次
发布时间:2019-06-29

本文共 822 字,大约阅读时间需要 2 分钟。

Private Sub Command1_Click()

Adodc1.RecordSource = "select * from xsd where 日期 between # " & DT1.Value & " # and # " & DT2.Value & " #"
Adodc1.Refresh
Set DataGrid1.DataSource = Adodc1
End Sub

Private Sub Form_Load()

Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\db_zbjxc.mdb;Persist Security Info=False"
Adodc1.CommandType = adCmdText

End Sub

 

Private Sub Command1_Click()

Adodc1.RecordSource = "select * from xsd where 日期 between # " & DT1.Value & " # and # " & DT2.Value & " #"
Adodc1.Refresh
Set DataGrid1.DataSource = Adodc1
End Sub

Private Sub Form_Load()

Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\db_zbjxc.mdb;Persist Security Info=False"
Adodc1.CommandType = adCmdText

End Sub

转载于:https://www.cnblogs.com/zsp2/p/10031611.html

你可能感兴趣的文章
DELL R730 Raid配置
查看>>
jdk1.8 lambda表达式过滤重复的对象
查看>>
wincp连接linux异常关闭
查看>>
使用Gradle构建工具开发Kotlin Web应用程序
查看>>
vmware测试环境虚拟机模板
查看>>
vsphere client 无法连接Vcenter主机
查看>>
Windows 2008 防火墙开放端口
查看>>
Highcharts-4.1.7使用实例(关键部分代码)
查看>>
PHP字符串分离、截取函数(explod)
查看>>
我的友情链接
查看>>
因特尔和谷歌合作优化Android
查看>>
Windows 7 部署工具DISM学习(二)--添加补丁
查看>>
2012ftp和website配置
查看>>
我的友情链接
查看>>
又可以访问 OSC 主站啦
查看>>
Oschat IM 开源即时通讯项目介绍
查看>>
linux 进程监控
查看>>
window下svn,git混合使用
查看>>
wordpress插件之All in One SEO Pack:整体优化你的wordpress博客
查看>>
编译安装PHP出现configure: error: mysql configure failed. Please check config.log的解决方法...
查看>>