Kryst51
Singin' in the Hou. Rain
- Local time
- Today, 16:44
- Joined
- Jun 29, 2009
- Messages
- 1,896
Hey all,
In another thread of mine the question came up that maybe my design, or what I was attempting to do would not be the best idea. I have written code, with the help of you all, to create a new record in one table (tblTagRelationships), find that record and assign it's pkID to the fkID in another table (tblTags). All this is done in the before update event on a form bound to "tblTags".
It was suggested to me that this may not be the best way to do things, as in a multiuser environment my code to find the most recent record of "tblTagRealtionships" could backfire on me as someone could potentially create a brand new record while this code is running and thus return the wrong pkID to store in "tblTags".
My thought, given my limited understanding, is that all of this code runs very quickly, and that this scenario is unlikely. Am I wrong? And should I consider other options?
For an explanation of what I am trying to accomplish see this thread.
In another thread of mine the question came up that maybe my design, or what I was attempting to do would not be the best idea. I have written code, with the help of you all, to create a new record in one table (tblTagRelationships), find that record and assign it's pkID to the fkID in another table (tblTags). All this is done in the before update event on a form bound to "tblTags".
It was suggested to me that this may not be the best way to do things, as in a multiuser environment my code to find the most recent record of "tblTagRealtionships" could backfire on me as someone could potentially create a brand new record while this code is running and thus return the wrong pkID to store in "tblTags".
My thought, given my limited understanding, is that all of this code runs very quickly, and that this scenario is unlikely. Am I wrong? And should I consider other options?
For an explanation of what I am trying to accomplish see this thread.