Changeset 134 for oup/current/DataAccess


Ignore:
Timestamp:
Mar 28, 2007, 7:53:54 PM (18 years ago)
Author:
alloc
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • oup/current/DataAccess/Access_OUP_ADB.pas

    r119 r134  
    6767
    6868  FDatabase := TABSDatabase.Create(nil);
     69  FDatabase.Exclusive := True;
     70  FDatabase.MultiUser := False;
    6971  FDatabase.DatabaseName := 'OLDBcon' + IntToStr(ConnectionID);
    7072  FDatabase.DatabaseFileName := DBFilename;
    7173  FDatabase.Open;
    7274  FQuery := TABSQuery.Create(FDatabase);
     75  FQuery.DisableControls;
    7376  FQuery.DatabaseName := 'OLDBcon' + IntToStr(ConnectionID);
    7477  FQuery.SQL.Text := 'SELECT [name],[value] FROM globals ORDER BY [name] ASC';
Note: See TracChangeset for help on using the changeset viewer.