Hi,
I am using table buffering for all of my forms. I set private datasession to my forms too.
I have a simple test that:
1. I launch 2 instances of my EXE.
2. Look up same record in both instance from mySearchform and display data in data entry form. The frmSearchForm will be released.
3. I delete the record selected in either one of the instance (e.g. 1st instance).
4. After deleted, I go to 2nd instance and save the selected record which selected. Once My update function detected the record was deleted by other user, it will ask for recall. If user select "YES", it will reall and update it.
5. The step 4 just work fine. Then, I launch my frmSearchForm again (same instance with step 4), I found the record I recalled just now in the grid.
6. However, I cant found the recalled record in my 1st instance (which delete the record).
I issue
mySearchForm.INIT()
USE myTable AGAIN SHARED
CURSORSETPRO("buffering",5)
mySearchForm.UNLOAD()
USE IN myTable.
Why the data in 1st instance doesn't refresh?
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...