A
Annemarie
I have a button on my form that is called hide completed. When it is clicked,
it used to filter the form and only display the records who's "Completed?"
field did not have a check mark. Now that there are multiple users using my
database, it filters the form by my txtName field and only displays one
user's records, it doesn't filter by the correct field and correct
parameters. Here is my code for my button:
'this applies a filter that only shows which records do not have a completed
check mark
Private Sub HideCompleted_Click()
On Error GoTo Err_HideCompleted_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 2, , acMenuVer70
Exit_HideCompleted_Click:
Exit Sub
Err_HideCompleted_Click:
MsgBox Err.Description
Resume Exit_HideCompleted_Click
End Sub
What am I missing or what do I have entered wrong?
it used to filter the form and only display the records who's "Completed?"
field did not have a check mark. Now that there are multiple users using my
database, it filters the form by my txtName field and only displays one
user's records, it doesn't filter by the correct field and correct
parameters. Here is my code for my button:
'this applies a filter that only shows which records do not have a completed
check mark
Private Sub HideCompleted_Click()
On Error GoTo Err_HideCompleted_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 2, , acMenuVer70
Exit_HideCompleted_Click:
Exit Sub
Err_HideCompleted_Click:
MsgBox Err.Description
Resume Exit_HideCompleted_Click
End Sub
What am I missing or what do I have entered wrong?