My Assistant
![]() ![]() |
|
|
Jan 20 2006, 11:02 AM
Post
#1
|
|
|
UtterAccess Enthusiast Posts: 76 |
I currently have a number field in a form that is called amount due. I would like to link a field to this amount that will spell out the number. For example the amount field has a value of 35 in it. I would like the linked field to say "thirty five". I can't seem to get anything to work. I can either do this in a query or I can do it in the form. Thanks in advance for all the help.
Thanks, Mike |
|
|
|
Jan 20 2006, 11:05 AM
Post
#2
|
|
|
UtterAccess VIP Posts: 31,413 From: NC, USA |
|
|
|
|
Jan 20 2006, 11:26 AM
Post
#3
|
|
|
UtterAccess Enthusiast Posts: 76 |
Thanks, this works perfectly. Secondly, is there a way in a query to return the value of a number after the decimal places. For example 35.23 and return just 23 or 1281.96 and return 96.
Thanks again, Mike |
|
|
|
Jan 20 2006, 11:31 AM
Post
#4
|
|
|
UtterAccess VIP Posts: 31,413 From: NC, USA |
Hi,
try a combination of the mid and instr function or the right function since the dot would always be on the third position from the right: =Mid([YourField],1,InStr([YourField],".")+1) =Right([YourField],2) HTH Good luck |
|
|
|
Jan 20 2006, 11:32 AM
Post
#5
|
|
|
UtterAccess Enthusiast Posts: 76 |
Thanks again,
|
|
|
|
Jan 20 2006, 11:34 AM
Post
#6
|
|
|
UtterAccess VIP Posts: 31,413 From: NC, USA |
You're welcome!
Glad I could assist. Good luck on future projects! |
|
|
|
Jan 20 2006, 12:26 PM
Post
#7
|
|
|
UtterAccess Ruler Posts: 1,047 From: Manchester UK |
or
([YourField]-Int([YourField]))*100 would work too providing the intial number always has 2 digits after the dp. |
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 19th May 2013 - 06:09 AM |