translate numbers to text

jermaine clarke

Registered User.
Local time
Today, 14:56
Joined
Jun 16, 2007
Messages
16
Hi all!

I would just like to know if someone could help me figure out how I could translate numbers to text for a report that i would use for my cheques and payment receipts.

thnx
 
maybe use the CStr() function to convert numeric values into text
 
its no use unless i'm not using it correctly. please gi me an example.
 
What do you mean numbers to text? Change 1 to one? Or are you talking data types?
 
Ah...reading Mark's link made me reinterpret your question.

I thought you were wanting to convert from a numeric datatype to a text (or string) datatype. If you are wanting to convert from numbers to english words then Mark's link is spot-on.

So, my solution helps turn 7 (numeric) into '7' (text)
Mark's link would convert 7 (numeric) into seven (English)
 
i'm not very familiar with functions. can someone plz provide me with the steps as to how to make the function actually work. does it apply to reports?
 
Is the report generated by a query resident in Access or in VBA code, or control source string, or ????

Access Query
Code:
text_num: CStr([number_field])

In Code or string
Code:
SELECT 
      tbl_test_nums.id
    , CStr( [number_field] ) AS text_num
FROM 
    tbl_test_nums
WHERE 
    ( ( ( CStr( [number] ) )<20 ) );

Pretty cheezy example but hope it gives you the idea
 
re: currency to numbers

thnx to all. I have successfully converted currency to text.
 

Users who are viewing this thread

Back
Top Bottom