Hello everyone!
I have this database in order to assign a task to each logged on user. The db is split between be and fe already and everything is on a network drive.
Admins import tasks on the main table where there is a 'inUse' boolean column defaulting as false.
A query reads a few fields from the table and filters out the 'inUse=true' records.
Records from the query are loaded into a form where I disabled record navigation, on "form_load" the record is set "inUse=true" and a DoCmd.RunCommand acCmdSaveRecord is run, if another FE instance is open, this record should never be loaded from the query and so the form.
There's a 'save and continue' button, on_click it simply closes the form and reopens it with a new record where 'inUse=false'
What could go wrong in a network environment between each FE database?could the query and form slow down and show the same record to two or more users?
Is this logic viable?I searched around the web and couldn't find anything like this, I've seen the record lock options but it's not really what I need, 'inUse=true' records should never appear to anyone else beside the one who gets it first.
I have this database in order to assign a task to each logged on user. The db is split between be and fe already and everything is on a network drive.
Admins import tasks on the main table where there is a 'inUse' boolean column defaulting as false.
A query reads a few fields from the table and filters out the 'inUse=true' records.
Records from the query are loaded into a form where I disabled record navigation, on "form_load" the record is set "inUse=true" and a DoCmd.RunCommand acCmdSaveRecord is run, if another FE instance is open, this record should never be loaded from the query and so the form.
There's a 'save and continue' button, on_click it simply closes the form and reopens it with a new record where 'inUse=false'
What could go wrong in a network environment between each FE database?could the query and form slow down and show the same record to two or more users?
Is this logic viable?I searched around the web and couldn't find anything like this, I've seen the record lock options but it's not really what I need, 'inUse=true' records should never appear to anyone else beside the one who gets it first.