|
-
Sep 28th, 2000, 06:38 AM
#1
Thread Starter
Hyperactive Member
I'm running 2 apps connected to the same DB with ADO.
when I Update a row on in one, the changes are not reflected in the other app. If I check the tables in access, the changes are made. is there a way I can force my apps to refresh their connections and get the latest db
-
Sep 28th, 2000, 08:57 AM
#2
Fanatic Member
hmm
doesn't it all depend on how u open your recordset in the other app... ? adopendynamic? u need ..
-
Sep 28th, 2000, 09:03 AM
#3
Thread Starter
Hyperactive Member
that's what I thought, but it doesnt seem to be so....
-
Sep 28th, 2000, 09:18 AM
#4
Fanatic Member
R U USING A DISCONNECTED RECORDSET?
?
If u don't mind, just cut/paste a caption of your sql invocation.. (Another set of eyes sometimes...)
-
Sep 28th, 2000, 09:33 AM
#5
Fanatic Member
ok
"By default the Synchronization service is disabled and cannot be used to perform resynchronization"
If one needs synchronization, the recordset needs to be opened with a CursorLocation of adUseClient
and a LockType of adlockBatchOptimistic
with that locktype OLEDB Cursor service will create a cached rowset that lends itself to synchronization later
So, if u had a disconnected recordset
and if u had opened it the way I descried above
do this to resync
with recordset
set .active connection = actual connection
.resync
end with
Vale!
-
Sep 28th, 2000, 09:57 AM
#6
Thread Starter
Hyperactive Member
excellent
that seems to work a treat.
thanks a lot!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|