bs0d
Well-known Member
- Joined
- Dec 29, 2006
- Messages
- 622
I have Make Table query that evaluates a field, replaces an undesired character ("*") with another ("_"). The replace function within the calculated field works correctly, however errors appear in the results. This creates problems down the line.
Is it possible to somehow exclude the errors from appearing in the query results? Here's a specific example:
I've tried adding this to the Criteria, without success:
The errors I see are #Error , and #Name ... The original Target_Field values are all over the place, which is why I'm attempting to clean it up with the Make Table query. I'm ok with simply not including any records that resulted in an error or were blank for example.
Thanks!
Is it possible to somehow exclude the errors from appearing in the query results? Here's a specific example:
Code:
Calc_Field: Replace([Target_Field], "*", "_")
I've tried adding this to the Criteria, without success:
Code:
Not IsError(Replace([Target_Field], "*", "_"))
The errors I see are #Error , and #Name ... The original Target_Field values are all over the place, which is why I'm attempting to clean it up with the Make Table query. I'm ok with simply not including any records that resulted in an error or were blank for example.
Thanks!
Last edited: