bopritchard
Programmer
i've got an input box that takes an id and then does an apply filter
IssueID = InputBox("Enter the Issue ID", "Search for Issue")
DoCmd.ApplyFilter , WhereCondition:="id=" & IssueID
problem is...when there isn't a record that matches the filter, my form is inserting one into the table...
i need the trap the fact that there is no matching record
IssueID = InputBox("Enter the Issue ID", "Search for Issue")
DoCmd.ApplyFilter , WhereCondition:="id=" & IssueID
problem is...when there isn't a record that matches the filter, my form is inserting one into the table...
i need the trap the fact that there is no matching record