T
TC114
I am trying to reference specific fields in a saved query. I can not seem to
figure it out do I have to just create the query in VB
' to open the query
DoCmd.OpenQuery "qryforrpt", acViewNormal, acReadOnly
'Where I am trying to reference the query
If (IsNull(Query![qryforrpt]![LockPawlAssembly])) = False Then
objWord.ActiveDocument.Bookmarks("R1C1").Range.Text = ""
I have coming back to this for a few days and can not figure it out.
Any help will be greatly appreciated.
Thanks
Tim
figure it out do I have to just create the query in VB
' to open the query
DoCmd.OpenQuery "qryforrpt", acViewNormal, acReadOnly
'Where I am trying to reference the query
If (IsNull(Query![qryforrpt]![LockPawlAssembly])) = False Then
objWord.ActiveDocument.Bookmarks("R1C1").Range.Text = ""
I have coming back to this for a few days and can not figure it out.
Any help will be greatly appreciated.
Thanks
Tim