D
doyle60
I have a table that has a text field in it that contains a number.
The trouble is that the number is sometimes proceeded by a dollar sign
or some type of other currency sign and sometimes simply without any
such sign. Also, the zeros can be displayed as "-" (without
quotations) or "$-" or simply null.
Is there a way in a query to just return the numbers (plus the
decimal)? In other words, I need the following returned for these
values:
[Null] 0
$- 0
- 0
C- 0
$13.29 13.29
13.29 13.29
C13.29 13.29
Where "C" is any currency symbol from the British pound to the
Bulgarian whatever.
The above may be all the different types. I do not believe I will
ever see "$ 13.29", that is with blanks between the sign and the
numbers. But you never know.l So a universal function for only
returning the numbers and the decimal would be great. Thanks,
Matt
The trouble is that the number is sometimes proceeded by a dollar sign
or some type of other currency sign and sometimes simply without any
such sign. Also, the zeros can be displayed as "-" (without
quotations) or "$-" or simply null.
Is there a way in a query to just return the numbers (plus the
decimal)? In other words, I need the following returned for these
values:
[Null] 0
$- 0
- 0
C- 0
$13.29 13.29
13.29 13.29
C13.29 13.29
Where "C" is any currency symbol from the British pound to the
Bulgarian whatever.
The above may be all the different types. I do not believe I will
ever see "$ 13.29", that is with blanks between the sign and the
numbers. But you never know.l So a universal function for only
returning the numbers and the decimal would be great. Thanks,
Matt