Missing error 3197 in multi user environment
From: Harry Barenbrug (h.barenbrug_at_hccnet.nl)
Date: 05/07/04
- Previous message: Ed Hammond: "Re: [Msgid 301076] *** Looking for a way to embed DLL & OCX files into a single file in VB 6.0 ***"
- Next in thread: david epsom dot com dot au: "Re: Missing error 3197 in multi user environment"
- Reply: david epsom dot com dot au: "Re: Missing error 3197 in multi user environment"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 7 May 2004 18:06:35 +0200
I am writing a multi user program in VB 5 , using DAO 3.5 (Jet) and I have
the following problem.
Station A reads (method Seek) a record, station B reads the same record.
Station A changes the record ( methods Edit and Update), a little bit later
station B also changes the record. Now I expect error 3197. But nothing
happens. Consequently only the changes made by station B are effective.
The database is opened as follows:
Set MyDatabase = MyWorkSpace.OpenDatabase(CurDB, False)
The record set is opened as folllows:
Set MyRec = CaravanDatabase.OpenRecordset("MyTable", dbOpenTable)
MyRec.LockEdits = True
Is my assumption that error 3197 should be raised correct? If so, what am I
doing wrong?
If not , how to handle the situation of simultaneous updating?
There is normally quite some user interaction between .Seek and .Edit, but
no user interaction between .Edit and .Update.
Thanks for some hints
Harry
- Previous message: Ed Hammond: "Re: [Msgid 301076] *** Looking for a way to embed DLL & OCX files into a single file in VB 6.0 ***"
- Next in thread: david epsom dot com dot au: "Re: Missing error 3197 in multi user environment"
- Reply: david epsom dot com dot au: "Re: Missing error 3197 in multi user environment"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|