Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan...EndScan still a problem?
Message
De
07/12/2001 02:09:49
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
06/12/2001 16:55:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00589532
Message ID:
00591007
Vues:
32
>>>SELECT TableA
>>>SCAN
>>> do something
>>> SCAN while something
>>> do somethingelse
>>> nRec= RECNO()
>>> ENDSCAN && TableA
>>> GO m.nRec
>>>ENDSCAN && TableA
>
>Yep, and as J Booth said, as long as you understand what is happening to the record pointer, there is no problem. Speaking of strange record pointer behaviour did you see the post on where
>LOCATE RECORD xxx
>ignores the current filter condition. Sort of surprising. Again it not something I'd ever use but the guy wanted a way of quickly getting to the next record with a filter set. GO RECORD xxx certainly ignores the filter (and rightly so) but LOCATE in every other instance obeys the filter setting.

Seems to be that RECORD clause ignores all Filter, Set Deleted and Set Key settings currently in effect, regardless of the command with which you use it. It would be interesting to try it with commands such as Delete, Replace, Recall, Report Form and any other command which has a scope clause. Not now, it's 2AM and I'm trying to read myself into sleep :).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform