Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FP2.6DOS - EOF()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00059699
Message ID:
00059701
Vues:
37
>Hi Everybody!
>
>I have an old fox program. which I got back with a strange behaviour.
>(The problem described here, didnot occur till now, because all data was imported at start - explanation follows)
>The program runs on network.
>
>There is a sure empty table. (ITEMS)
>
>use items again alias firstopen
>
>do myproc && this proc add some records
>select firstopen
>go top
>&& after this, the EOF() still TRUE!!!
>
>use
Bela,

Try adding this to your code;

use items again alias firstopen

do myproc && this proc add some records
select firstopen
DO WHILE NOT RLOCK()
ENDDO
UNLOCK
go top
&& after this, the EOF() still TRUE!!!

use

I'll bet your not at eof after that. The reason is that the lock and unloack forces fox to reread the table from disk and it then sees those new records.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform