Hi Guys,
I am pretty new to ASP so please forgive me if my question sounds a bit "dumb". We have a basic intranet at work which I adminster, at the moment it is pretty much all HTML with pages that just show information etc plus links to some documents.
I have been asked to see if i can come up with a call logging system for internal use, the data will be stored in an Access database and I am trying to find a way that when the user wants to add a new record the call number ID will be
a)Unique
b)Sequential
My problem is that I know that it may be possible for 2 users to do this at the same time and therefore generate duplicate ID's. I was thinking along the lines of this scenario
1) User opens web page which generates the Call ID, they then submit this to the DB and are then returned to another page with the ID already filled in where they can then enter the rest of the data before updating the record.
Does this sound plausible ?, if so is there anyone that would be kind enough to help me achieve this please
Regards
Paul
I am pretty new to ASP so please forgive me if my question sounds a bit "dumb". We have a basic intranet at work which I adminster, at the moment it is pretty much all HTML with pages that just show information etc plus links to some documents.
I have been asked to see if i can come up with a call logging system for internal use, the data will be stored in an Access database and I am trying to find a way that when the user wants to add a new record the call number ID will be
a)Unique
b)Sequential
My problem is that I know that it may be possible for 2 users to do this at the same time and therefore generate duplicate ID's. I was thinking along the lines of this scenario
1) User opens web page which generates the Call ID, they then submit this to the DB and are then returned to another page with the ID already filled in where they can then enter the rest of the data before updating the record.
Does this sound plausible ?, if so is there anyone that would be kind enough to help me achieve this please
Regards
Paul