I have a form with a cursor adaptor called cSites which accesses a local table called sites
I refresh the cursor with
which works OK for the most part except -
I have another program which also access the same database and table
The second program runs and accesses the table "Sites", updates the records as required, then is closed.
Then when I re query the cursor adapter in the first program it does not update from the main table.
If I do
I see can see the updates - but the cursor adapter will not update and show the changes. If I close and reopen the first form, the records will update
I refresh the cursor with
Code:
Requery("cSites")
I have another program which also access the same database and table
Code:
OPEN DATABASE (lcAddress) SHARED
USE sites SHARED IN 0 again
&& Do stuff
use in sites
close databases all
The second program runs and accesses the table "Sites", updates the records as required, then is closed.
Then when I re query the cursor adapter in the first program it does not update from the main table.
If I do
Code:
Select * from sites into cTemp
select cTemp
browse
I see can see the updates - but the cursor adapter will not update and show the changes. If I close and reopen the first form, the records will update