I'm using an Access DB in a voting program. One of the fields (VotedFor) relevant to a candidate is to record how many votes has been cast for that particular candidate. Problem is, if two or more voters vote for the same candidate at more or less the same time, only the first vote will be added to the total already recorded in the column while record locking will cause an error trying to record the later vote/s.
I dont have experience with it but, is a ClientDataSet maybe the way to go? And, is dbExpress maybe a better option than Access since it does not appear to have as restictive record locking?
Ideally it seems to me the record must be locked, updated, then released. Meanwhile, other votes must be placed in a q and written to the db without the user being involved in the process. Any suggestions?
Hannes
I dont have experience with it but, is a ClientDataSet maybe the way to go? And, is dbExpress maybe a better option than Access since it does not appear to have as restictive record locking?
Ideally it seems to me the record must be locked, updated, then released. Meanwhile, other votes must be placed in a q and written to the db without the user being involved in the process. Any suggestions?
Hannes