I need to run a query and extract a numeric value from a field in a transactions table using Access 2007. The value that I need is part of a larger string of alpha-numeric characters. The new query results, therefore, will contain the extracted value that I will use to look up other values in other tables.
Here are the details:
1) The value in the source field is variable length and alphanumeric in the form of ABC123, ABC12, ABC1, AB123, AB12, or AB1.
2) I need to extract ALL the numeric characters from right to left. In the examples above, for example, the query returns 123, 12, 1, 123, 12, 1, respectively.
In query design mode, what should I enter in the calculated FIELD: and CRITERIA: to return the value that I need?
I would sincerely appreciate any help offered. I'm a rookie trying to learn on the job!