G
Guest
Hello:
I have several forms mapped to a single table. There is a switchboard
running the forms.
I want to make sure that users do not have more than one form open while
entering the data, in order to avoid data error problems.
I'm looking for some basic code that will allow me to lock down all other
forms (which I can specify in the code) while the current form is open.
I.e. in pseudo-code this would be
Start
Form ORDERS opens
Form ADDRESS open property is switched to locked
Form ORDER HISTORY open property is switched to locked
Form ORDERS is closed
Form ADDRESS open property is switched to unlocked
Form ORDER HISTORY open property is switched to unlocked
Stop
Does anyone know if I can find some code somewhere that I could adopt for
this purpose?
Thanks,
pepe
PS: the database is going well so far, thanks for all your help MVPs!!
I have several forms mapped to a single table. There is a switchboard
running the forms.
I want to make sure that users do not have more than one form open while
entering the data, in order to avoid data error problems.
I'm looking for some basic code that will allow me to lock down all other
forms (which I can specify in the code) while the current form is open.
I.e. in pseudo-code this would be
Start
Form ORDERS opens
Form ADDRESS open property is switched to locked
Form ORDER HISTORY open property is switched to locked
Form ORDERS is closed
Form ADDRESS open property is switched to unlocked
Form ORDER HISTORY open property is switched to unlocked
Stop
Does anyone know if I can find some code somewhere that I could adopt for
this purpose?
Thanks,
pepe
PS: the database is going well so far, thanks for all your help MVPs!!