Hi, all,
I'm having problem on multi user environment, currently I have over 20
concurrent users creating records on Access database table, because my
database have a Counter table for generating Record ID.
My problem is using ADO.net, i need to generate Record ID in 2 steps:
Step 1) use dataset or data reader to get the next record ID
Step 2) use dataAdapter to update next record ID
In multi user environment, anyway to lock this Counter table such that I can
ensure the above steps perform as I expected?? I know if I lock the table,
two users may have change to read the same Record ID.