Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Occasional errors with DataToClip
Message
From
07/07/2009 16:42:25
 
 
To
07/07/2009 15:27:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01410680
Message ID:
01410712
Views:
54
>I have been getting a few really odd errors with DataToClip. The following statement is used a few hundred times daily (in a single method -- it only appears once in that method.)
>
_vfp.DataToClip (lcStruct, 99999, 3)
>
>Once a week or so, a user will get an 'Alias not found' (error 13) message.
>
>I am now getting it in a session now as well, and I can verify that there is a indeed a cursor with that name:
>
Used(lcStruct) = .T.
>
>I have tried substituting different alias names, and they fail as well.
>
>An ideas what could be going on -- or any remedies?

A couple of SWAGs:

- test with real-time antivirus scanning disabled

- is it possible the lcStruct is a filtered result set from something else? If so, how about creating it with NOFILTER?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform