NEWBIE Question File-Sharing interference
Hi!
Quote:
> Help!
> I have an application which uses TTables, storing the data in Paradox
> files.
> I have a procedure to copy the data files to diskette
> I set the [Exclusive] ptoperty to [True]
> I [close] the tables.
> I call my File Copy Procedure.
> I get errors to the tune of "Can't assess files" "File Sharing Violation"
> I get the distinct feeling that somehow, the files really aren't closed.
> If I put a copy of the File Copy Procedure in another application that has
> NO TTable components, it copies the files just fine.
> I have SHARE.EXE /F:4096 /L:40 installed at Delphi recommends.
> Can anybody help??
If you have a TDatabase component in the program, setting the Connected property to False closes
all tables & quearies etc, & allows other access to them.
regards,