Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBF('MyCursor') gives uncorrect result?????
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00354449
Message ID:
00354465
Vues:
20
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform