Thanks for the help, am currently reading up on Thread, will be experimenting tonight with them.
I have another question as well, not exsacually related to the above, but thought as I got such a good and quick response I'll post it anyway.
I am writing an application that the database and application will be loaded on a server, then have multiple clients accessing the exe from the server on different machines. Obviously there could be conflicts if two users send an update query to the database to update the same record. There would probably only be about 20 users at a time who would have access to update records and the other users would be read-only. So what I was proposing to do is when the user switches to a record using the app. I would write true to a lock field on that record (only if readonly) therefore if another user navigates to the same record then it will only give then read-only and notify them that this record is locked untill the user who locked it moves on and the lock field is set to false.
Is this bad practice or is there a better way of doing this?
Also there should only be one user who will be writing data to that record and this is the way I want the app. to work
Cheers
Simon