Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: VFP9 Allows Overwrite of File Opened Non-Exclusivel
Message
De
08/06/2004 08:43:45
 
 
À
08/06/2004 06:18:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00910225
Message ID:
00911118
Vues:
32
>Hi Jos
>
>>Here's a really weird thing:
>Why ?
>>3) Open Table1 in an instance of VFP8 or VFP9 (didn't try with anything else).
>Works in 2.x the same...
>>9) Now just issue the BROWSE command again on Table1 and presto the records in Table2 that were copied to the open file Table1 appear in the browse window. Weird??
>Play a bit with set Refresh...
>Changes by another user show up after a second browse or through this set.
>Visualize it as a very disk-optimized batch add <g>.
>
>HTH
>
>thomas

Thomas, I understand file refresh and all that, thanks. But this is not that simple.

Firstly VFP allows me to overwrite a file that is open in another application. That should not be allowed, imo.

Secondly, the file that was open in the other app had no records. After the file was overwritten, with niether app complaining, the browse refresh shows the new records. This is not a refresh issue per se. I didn't add records to a file from another app. I overwrote the file. That means all existing records were overwritten! Not appended. This is not a "disk-optmized batch add" either!

Try this again and use two files with different structures. Then tell me its a nice refresh thingy :)

PS. I dont mind this and am not complaining. Its just a "fwiw". VFP rocks and I'm sure my apps have more bugs than VFP itself :)
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform