I have an access database that I am making a C# interface for. I'm not using the built in one because I do not know VB.
For both tables in the database I want IDs to be automatically generated rather than having the user input them. The only way I can think of to do this is:
- Generate a random ID
- Check every record in the table to make sure non have the same ID.
- If it is unique use that ID. Otherwise generate a new ID.
I just think there must be a better more efficient way to do it. Can anyone help me?
Also my database will need to later be accessed from different computers across a network. Is it alright to use Access for this. Are there any advantages of using other databases like MS-SQL?