Answers inline.
Thank you John, I deeply appreciate your help.
I followed your instruction, created new class module and named it
CheckText. Then created new Query and in a vacant field cell typed
‘AmountInWords: English([Amount]) ‘. Now I have one problem and two questions.
Problem: when I run this Query I get the error message “Undefined function
‘English’ in expressionâ€
Does the Module include the line
Function English (ByVal N As Currency) As String
from the webpage? After you copied and pasted the function into the Module,
Question 1. You instructed that instead of word Amount in expression I
should use actual field name. Are you telling me that I use the field name of
a form that currency in alphabet should be filled?
Forms don't have fields. Tables have fields. The function should be called
from a Query, by typing
AmountInWords: English([Amount])
Replace "AmountInWords" by the fieldname that you want to use for "Five
Hundred Dollars"; replace [Amount] by the fieldname currently in your table
which contains a Currency value such as $500.00.
Question 2. I do not understand how the new created module will relate to
this new Query.
The Query will call the function. The Module is just a container for the
function, and you won't need to use the "CheckText" module name anyplace -
just the name of the Function, which (unless you change it) is "English()".