Access培训-Access开发平台-Access行业开发
Access交流网(免费Access交流)
QQ:18449932
网 址:www.access-cn.com
例如, 在下面的代码中, 查询 "Qry1" 拥有两个参数: [Please enter Code:] 和 [Please enter city:].
Set db = CurrentDb() Set qdfParmQry = db.QueryDefs("Qry1") qdfParmQry("Please Enter Code:") = 3
' or try this alternate method ' to pass the parameter qdfParmQry![Please Enter City:] = "New York" Set rs = qdfParmQry.OpenRecordset()