Hi Back again, can you tell me how to modify the above code to show 0 = "Zero"
Hi Back again, can you tell me how to modify the above code to show 0 = "Zero"
You want to return "Zero" if the input value is 0?
Add an Else to the outermost If Then.
The last 8 lines will become:
Next intCounter
End If
End If
Else
strText = "ZERO"
End If
NumWord = strText
End Function
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
When I added the box that should show number in words is blank, it doesn't say there is any error in the code???
Now it works ???????
Added box where - on form?
Working?
The code won't handle Null.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.