I feel really dumb asking this question because I feel stupid right now.
I have Accounts that are Active and Inactive. In a form, however, I want to only show Active accounts.
A invisible combo box in the form called cmbActiveInactive shows whether or not the Account is Active or Inactive. If the choice in the combo box is "A", the Account is Active. And I want to show only Active accounts.
The form I want to open is called, "Add/EditRecords".
And the table this form derives from is "Accounts". I tried to create a macro, but it is not working for some reason. So I was wondering about a DoCmd.OpenForm "Add/EditRecords" line. What would I put after this?
I have Accounts that are Active and Inactive. In a form, however, I want to only show Active accounts.
A invisible combo box in the form called cmbActiveInactive shows whether or not the Account is Active or Inactive. If the choice in the combo box is "A", the Account is Active. And I want to show only Active accounts.
The form I want to open is called, "Add/EditRecords".
And the table this form derives from is "Accounts". I tried to create a macro, but it is not working for some reason. So I was wondering about a DoCmd.OpenForm "Add/EditRecords" line. What would I put after this?