                                Using MONEYSTR.DLL 
 
Moneystr.DLL generates a string in the form of "One thousand 
two hundred thirty-four and 56/100" for any number up to 
999,999,999.99.  It sounds a beep and generates "OVERFLOW" 
if the amount is 1 billion or greater. 
 
The routine is design with AccessBasic in mind and is  
declared as  the Sub "Money" with 
 
   Declare Sub Money Lib "Moneystr.DLL" (ByVal sMoney as 
String, ByVal Amount as Double) 
 
You call the routine from AccessBasic as you would any Sub 
 
   Money sMoney, Amount 
 
where sMoney is a string variable with enough pre-allotted 
space to receive the string and Amount is the check amount  
in the double format.  You should use a regular string 
variable and provide space with 
 
   Dim sMoney as String 
   sMoney = String$(110, " ") 
 
   (The maximum string length which can be generated by 
Money.DLL is 110.  Insert these lines in you code before the 
call to Money.) 
 
The resulting string is padded with spaces and is not 
terminated with a 0 (ASCII value 0) as required for C 
language strings.  This facilitates removing the padding and 
concatenating it with other AccessBasic strings  
 
.I use this code to combine sMoney with a space-filling 
string for greater security against fraud 
 
   txtAmount.Value = Trim$(sMoney) & " * * * * * * * * * * * 
* * * * * *" 
 
where txtAmount is a text box on a check-printing report.  
This produces a final string in the form of 
 
	  One thousand two hundred thirty-four and 56/100 * * * 
* * * * * * * * * * * * * 
 
You can use a fixed string declaration for sMoney but it is 
apt to contain 0's and characters from earlier calls of 
Money unless you also fill it with blanks spaces before you 
make the call to "Money". 
 
The C source code for Moneystr.DLL and a sample MS Access 
application which prints a batch of payroll checks using 
either of two standard Quicken blank checks  is available 
for $15 from Mgmtware, Inc., Box 267, Yorklyn, DE 19726.  
Moneystr.mdb, Moneystr.c and Moneystr.def , and Moneyst.DLL 
are provided. 

