Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LocFile Not Finding
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00260276
Message ID:
00260314
Views:
12
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform