Steve:
I believe you need a Thisform reference in the STORE command.
STORE cPathIWant to
Thisform.cAttachmentPath.Value
--Paul
>I have a simple form with a field (called cAttachmentPath and control source is a field)and a button to locate the path. In the click event of the button I have
>
> cPathIWant = locfile('Attachment','*','Any Attachment')
> store cPathIWant to cAttachmentPath.Value
> ThisForm.Refresh
>
>I get a "file not found" error and a "object cAttachmentPath not found".
>
>Help?