Numbers to Letters?

cos

Registered User.
Local time
Today, 17:45
Joined
Jul 13, 2012
Messages
81
How can i make a seporate column in the table to tell me what sum i entered in the other column in writing?
So that for instance in one field i will enter: 122
and automatically in another field i will have: one hundred and twenty two

i read that i could create a moduel, but how and where, i have no idea.

any ideas at all? :confused:
 
Okay, so where do i put this code (function) so that i can use it? :o
 
Like I said, a standard module. Hit Alt-F11 hike in Access to bring up the VBA editor, then Insert/Module.
 
quick question: how do i then activate or asign that moduel to my wanted column in my table, so that theresults are projected and recorded in there?
 
You wouldn't use the function in a table. You would call it in a calculated query field or in a calculated control on a form or report. Calculated or derived data like this should not be stored in your table. To call it do one of the following (examples);

In a query field:

NumToWords: English([YourNumberField])

In a form or report Control (like a text box - this goes in the Control Source property):

=English([YourNumberField])
 

Users who are viewing this thread

Back
Top Bottom