Quantcast
Channel: FiveTech Software tech support forums
Viewing all articles
Browse latest Browse all 26233

TDatabase or my error?

$
0
0
Ruben, As Enrico stated you have to open it for exclusive use (set lShared to .f., it defaults to .t.). Method New( cAlias, cFile, cDriver, lShared, lReadOnly ) Class TData The reason you can't just do an flock() on a shared database is that other users could have it open and even be editing a record when you do the flock. By opening it in exclusive use, you can be sure nobody else it using the database. James

Viewing all articles
Browse latest Browse all 26233

Trending Articles