how can I create a unique ID in which in can be inserted into the database as PK? it might be a situation where multiple user insert data at synchronize time. Currently I'm using randomise number using date and time as part of the ID but still there is a duplicate to that. so any ideas or site that i might want to refer to. Thanks guys.