C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VFP98\c:\diamondaccounti\inventory control
<\PRE>
with the drive letter in the middle. I think you want to eliminate the reference to HOME().
As was mentioned in another reply, I'd strongly recommend avoiding spaces in directories and file names. OTOH, to make your code as portable as possible, you should always code for the possibility.
HTH,Bill Armbrecht
VFP MCP