August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!
'code A Private Sub Command9_Click() 'select similar sessions... On Error GoTo Err_Command9_Click ' look at what was selected in the existing display Screen.PreviousControl.SetFocus ' fileter the table by this criterion DoCmd.RunCommand acCmdFilterBySelection Exit_Command9_Click: Exit Sub Err_Command9_Click: MsgBox err.description Resume Exit_Command9_Click End Sub 'code B Private Sub Command10_Click() ' show all sessions... On Error GoTo Err_Command10_Click DoCmd.ShowAllRecords Exit_Command10_Click: Exit Sub Err_Command10_Click: MsgBox err.description Resume Exit_Command10_Click End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.