Me.img1.Visible = True: Me.img1.OnClick = "=OpenForms('BOM')"
以上为图片img1显示并打开叫做BOM的窗口并要用到以下过程:
’------------------------------------------------------------
Function OpenForms(strFormName As String) As Integer
On Error GoTo Err_OpenForms
DoCmd.OpenForm strFormName
Exit_OpenForms:
Exit Function
Err_OpenForms:
MsgBox Err.Description
Resume Exit_OpenForms
End Function
’---------------------------------------------------------------------
Me.lb1.Visible = True: Me.lb1.Caption = "部品单价"
以上为标签lb1显示并使它显示为"部品单价"
[此贴子已经被作者于2006-9-23 9:58:41编辑过]
|