|
I thought that DWRD only produced currency values like 'one
hundred twenty six dollars and zero cents.'
Did I miss a step to truncate the 'dollars and zero cents'
part? From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ramsour Mike Sent: Tuesday, February 08, 2005 10:56 AM To: RBG7-L Mailing List Subject: [RBG7-L] - RE: Converting Integers to Text Value Jan:
I
replied too hastily. The function that will convert text to words is
DWRD.
You
can then conacatenate this something like
select inwgt,'The value for in weight is ' & (DWRD(inwgt)) &
'pounds' from prodmast
will
produce this:
inwgt ('The value for in weight is ' &
(DWRD(inwgt
--------- ----------------------------------------------------------------- 126 The value for in weight is one hundred twenty-six pounds 126 The value for in weight is one hundred twenty-six pounds 126 The value for in weight is one hundred twenty-six pounds 126 The value for in weight is one hundred twenty-six pounds 126 The value for in weight is one hundred twenty-six pounds I hope that helps more.
Mike
|
- [RBG7-L] - RE: Converting Integers to Text Value Adriana Montano
- [RBG7-L] - RE: Converting Integers to Text Value Ramsour Mike
- [RBG7-L] - RE: Converting Integers to Text Value James Hageman
- [RBG7-L] - RE: Converting Integers to Text Value Dawn Oakes
- [RBG7-L] - RE: Converting Integers to Text Value Jan Barley
- [RBG7-L] - RE: Converting Integers to Text Value A. Razzak Memon
- [RBG7-L] - RE: Converting Integers to Text Value MikeB
- [RBG7-L] - RE: Converting Integers to Text Value Albert Berry
- [RBG7-L] - RE: Converting Integers to Text Value Jan Barley
- [RBG7-L] - RE: Converting Integers to Text Value Jan Barley
- [RBG7-L] - RE: Converting Integers to Text Value Jan Barley
