Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBF('MyCursor') gives uncorrect result?????
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00354449
Message ID:
00354465
Views:
24
>>Hi everybody,
>>
>>Today I found very weird bug, which I can not understand :(
>>I select records into a cursor (MyCursor2).
>>Then I want to make this Cursor updatable, so I use this syntax:
>>use dbf('MyCursor2') again alias MyAlias.
>> It gives me an Error on this string, saying 'File ... not found'.
>> I put suspend before this command and see, that this cursor is actually created.
>>
>> Why do I have this problem?
>>
>> Thanks in advance...
>
>Two things:
>I would add the in 0 to your statement to be sure the alias is opened in a non uses work area.

That's was it!!!!!! Thanks, Jeff! How did I miss this problem??? :(


>use dbf('MyCursor2') in 0 again alias MyAlias
>
>Try the nofiler on you select to force a separate cursor to be built. Fox will
>
>try and set a filter on original if the return set is small.
>
>select records into a cursor MyCursor2 nofilter
>
>HTH
>
>Jeff
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform