I have a button on my form that when you press it I want it to ask what Field ID's do you want to view. Right now, it opens them all. Here is the procedure code I am using...
I would like to add to this code and not add it to my query table...
Private Sub Command111_Click()
On Error GoTo Err_Command111_Click
Dim stDocName As String
Rem Between [Enter Beginning ID:] And [Enter Ending ID:]
stDocName = "Tape Log"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Exit_Command111_Click:
Exit Sub
Err_Command111_Click:
MsgBox Err.Description
Resume Exit_Command111_Click
End Sub
I would like to add to this code and not add it to my query table...
Private Sub Command111_Click()
On Error GoTo Err_Command111_Click
Dim stDocName As String
Rem Between [Enter Beginning ID:] And [Enter Ending ID:]
stDocName = "Tape Log"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Exit_Command111_Click:
Exit Sub
Err_Command111_Click:
MsgBox Err.Description
Resume Exit_Command111_Click
End Sub