|
2#
楼主 |
发表于 2007-12-9 21:47:11
|
只看该作者
Select Case rs("itemcmdtype")
Case 1
DoCmd.OpenForm rs("itemcommand")
Case 2
DoCmd.OpenReport rs("itemcommand"), acViewPreview
Case 3
DoCmd.RunMacro rs("itemcommand")
Case 4
'rs("itemcommand")=WelcomeToDblClick
DoCmd.RunCommand WelcomeToDblClick
'DoCmd.RunCommand rs("itemcommand")
Case 7
DoCmd.close acForm, name
Case 8
DoCmd.Quit acQuitSaveAll
End Select
Else
---------------------------------
Private Function WelcomeToDblClick()
'DoCmd.OpenForm "frmLogin", , , , , acDialog
End Function
如何修改,程序出警告 |
|