Mark,
If you
are using Paradox you only need to do like:
tbarchive := nil;
try Screen.Cursor := crHourglass; tbArchive := TTable.create( nil ); with tbArchive do begin databasename := datadir; tablename := 'archive.db'; exclusive := true; end; try
tbarchive.open;
dbiRegenIndexes( tbArchive.Handle );
application.processmessages;
except (* warn user couldn't open exlusive *) Application.MessageBox( 'Please ensure that no other users are using '+ 'the system and try again', strTitle, MB_ICONSTOP ); end; finally tbarchive.close; tbarchive.free; Screen.Cursor := crDefault; end; Also
if you are converting from Paradox to Client Server, and don't relish the
thought of recoding everything in a C/S fashion, take a look at the upcoming C/S
version of DBISAM at http://www.elevatesoft.com. It can easily
convert existing data from BDE, and the C/S engine is optimised to work well
with TTable-style apps (as well as sql). I believe they have a demo which you
can run as client and connect to their server across the internet - on second
thoughts I think this is only available to registered users and beta
testers.
Steve
|
Title: Message
- Re: [DUG]: SQL Poser Neven MacEwan
- Re: [DUG]: SQL Poser Mark Howard
- Re: [DUG]: SQL Poser Maurice Butler
- [DUG]: TRichEdit Sandeep
- RE: [DUG]: SQL Poser Patrick Dunford
- Re: [DUG]: SQL Poser Mark Howard
- Re: [DUG]: SQL Poser Neven MacEwan
- RE: [DUG]: SQL Poser Patrick Dunford
- RE: [DUG]: SQL Poser James Sugrue
- Re: [DUG]: SQL Poser Mark Howard
- Re: [DUG]: SQL Poser Stephen Barker
- Re: [DUG]: SQL Poser Mark Howard