Private Sub 删除查询_Click() DoCmd.DeleteObject acQuery, "名称" Application.RefreshDatabaseWindow '刷新 MsgBox "删除成功!"End Sub Private Sub 创建一个查询_Click() Set qdf = CurrentDb.CreateQueryDef(" 名称","select * from 表名) Application.RefreshDatabaseWindow '刷新 MsgBox "创建成功!"End Sub
共 1 个关于本帖的回复 最后回复于 2013-7-4 12:19