Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Server / refresh problem
Message
De
02/10/2006 09:45:47
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01158536
Message ID:
01158537
Vues:
26
>Hello,
>
>I have had several issues with index corruptions and wrong unique keys. Now I have seen that the reason for these problems is how VFP reads the data on the network on two particular machines (XP).
>
>The following scenario:
>*-- Machine 1:
>USE N:\Cinema\PrimKey
>?prNumber && returns 11600
>
>*-- Machine 2:
>USE N:\Cinema\PrimKey
>?prNumber && Shows 11610
>REPLACE prNumber WITH 11611
>?prNumber && Shows 11611
>
>*-- Machine1:
>?prNumber && still shows 11600 !
>
>In fact, machine 1 does not show the updated numbers, until I reboot the entire computer. After reboot, VFP reads the updated values, but then again stucks on those values until rebooted.
>
>Only VFP has that problem, when accessed with another program, the values are uptodate.
>
>What could be the reason for that and how can I solve that?
>
>I tried SET REFRESH TO 1, Flush IN after every replace, and do record lock (and sometimes file lock) whenever appropriate.
>
>Thank you for your help in advance.

Christian,
Are you sure you're checking same file on both machines?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform