I have an app that will be used by up 22 users at one time, that pulls data from an API. in the background the app also copies some of the data into a SQL Database, but I am running into the problem of getting duplicate records because more than one application tries to update the database at the same time.
I have tried using "TimeStamp" in a different table to see when the database was last updated, but that doesn't account for on-going New updates.
back in Microsoft Access world I would use "SeeDatabaseChanges" to prevent records getting duplicated, but is there a way to make sure that only 1 app instance updates the database or better runs the method?
Thanks in advance