随笔分类 -  access vba

第一次接触access vba 的编程
access 2007 vba (亖)
摘要:OpenReport方法执行 OpenReport 操作在 Visual Basic 中。语法表达式.OpenReport(ReportName,View,FilterName,WhereCondition,WindowMode,OpenArgs)表达式一个代表DoCmd对象的变量。参数名称必需/可... 阅读全文

posted @ 2015-01-18 19:33 hellofking 阅读(408) 评论(0) 推荐(0)

access 2007 vba 开发中学到的知识(三)
摘要:打开文件或程序'API函数声明Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lp... 阅读全文

posted @ 2015-01-18 12:33 hellofking 阅读(210) 评论(0) 推荐(0)

access 2007 vba 开发中学到的知识(二)
摘要:文件的导入和导出excel'excel导入Private Sub btnInExcel_Click() Dim strSelectFile As StringWith Application.FileDialog(3) .AllowMultiSelect = False .Init... 阅读全文

posted @ 2015-01-18 11:31 hellofking 阅读(247) 评论(0) 推荐(0)

access 2007 vba 开发中学到的知识(一)
摘要:使用ado连接本身的数据库,需要先创建一个 adodb.connection的连接对象 Set cn = CreateObject("ADODB.Connection") 数据库的提供者 cn.Provider = "Microsoft.ACE.OLEDB.12.0" CurrentProject.... 阅读全文

posted @ 2014-12-23 19:01 hellofking 阅读(307) 评论(0) 推荐(0)

导航