Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: VFP9 Allows Overwrite of File Opened Non-Exclusivel
Message
From
08/06/2004 08:43:45
 
 
To
08/06/2004 06:18:41
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00910225
Message ID:
00911118
Views:
31
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform