Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know records were edited or deletion by Other use
Message
From
18/10/2000 11:00:35
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00430813
Message ID:
00430944
Views:
13
Hi,
Sorry for unclear information.

I just have an experiement in the same pc.

E.g
I have 2 instance of VFP6. VFP-1, VFP-2
I issue the following statement in both instance in command window:
OPEN DATABASE mydb shared
USE mytable AGAIN SHARED ALIAS mytable1 (mytable2 in 2nd instance)
SET MULTILOCK ON
CURSORSETPROP("Buffering",5,"mytable1 (mytable2 in 2nd instance)")
Then, I update a record in VFP-1
UPDATE mytable1 SET myfield1 = "test"
?TABLEUPDATE(0,.F.) && RETURN .T.

Next, I go to VFP-2
?GetNextModified(0,"mytable2") && RETURN 0
?GetFldState(-1,"mytable2") && RETURN "11111"

If i use CURVAL or OLDVAL, both return correct value and I can know the changes, but It need to loop through all of the fields.


Any ideas?

thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform