Option Compare Database
Private Function PreviewQuery()
'Open the selected query in the Print Preview window
DoCmd.OpenQuery [QueryList Control], acViewPreview
End Function
Private Function DisplayQuery()
'Open the selected query in Datasheet View
DoCmd.OpenQuery [QueryList Control], acViewNormal
End Function
Private Sub List2_BeforeUpdate(Cancel As Integer)
End Sub
But I get the following error: Microsoft Access can't find the field "I" referred to in my expression.
Can any one help me.
Thanks
Joanne
Private Function PreviewQuery()
'Open the selected query in the Print Preview window
DoCmd.OpenQuery [QueryList Control], acViewPreview
End Function
Private Function DisplayQuery()
'Open the selected query in Datasheet View
DoCmd.OpenQuery [QueryList Control], acViewNormal
End Function
Private Sub List2_BeforeUpdate(Cancel As Integer)
End Sub
But I get the following error: Microsoft Access can't find the field "I" referred to in my expression.
Can any one help me.
Thanks
Joanne