Bill,
>GETWORDNUM doesn't seem to be a function available with VFP 6. Do you know where I can get it?
Sorry, I'm used to these functions, so I always forget that they were formerly in foxtools.fll. Do a SET LIBRARY TO foxtools.fll ADDITIVE and use WORDNUM() instead of GETWORDNUM().
Armin