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:
00354456
Vues:
14
>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.

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

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform