Re: edb problem
- Posted by Vlado Kusnirak <vkusnirak at sk.uss.com> Nov 16, 2006
- 550 views
Pete Lomax wrote: > > On Wed, 15 Nov 2006 15:45:06 -0800, Vlado Kusnirak > <guest at RapidEuphoria.com> wrote: > > >Hi, I have small edb database and it has two records with the same key. > How it could happen? I use Euphoria 3.0.0. </font></i> > That could easily happen if you have more than one program updating > the database at the same time. Make sure you always open databases > with DB_LOCK_EXCLUSIVE. > I think you can be right. There was lock type DB_LOCK_NO. But... There are two programs, which share this database on the same PC, but after using of data I always close database. Programs use this database only by user input, so user have to press button once in one programm and once in second program to save data. Vlado/SK