G
Guest
I have a main form named: APPOINTMENTS with various subforms linked named:
App_Subform1, App_Subform2, App_Subform3. On the APPOINTMENTS form the is an
unbound box named: Filterdate which is a date picker. Essentially the
various sub_forms are for taking appointments at certain times of the day
this being dependent on the date selected from Filterdate on the main form.
Each subform has it owe time slot starting at 11am. Some dates selected will
exclude certain times which are presented to the user as stated via
App_Subform2, App_Subform3 etc.
It is possible to either lock or make the App_Subform?? Not be
editable/disabled if their particular time slot is unavailable from the date
the user chooses from Filterdate?
I’m thinking somewhere along the lines of:
iif([Filterdate=Weekday(2),App_Subform.visible/lock.True)
Am I close to the idea and if so where would be the best place to put the
code? Many thanks for taking the time to ready this. Any and all help much
appreciated.
Debbie D.
App_Subform1, App_Subform2, App_Subform3. On the APPOINTMENTS form the is an
unbound box named: Filterdate which is a date picker. Essentially the
various sub_forms are for taking appointments at certain times of the day
this being dependent on the date selected from Filterdate on the main form.
Each subform has it owe time slot starting at 11am. Some dates selected will
exclude certain times which are presented to the user as stated via
App_Subform2, App_Subform3 etc.
It is possible to either lock or make the App_Subform?? Not be
editable/disabled if their particular time slot is unavailable from the date
the user chooses from Filterdate?
I’m thinking somewhere along the lines of:
iif([Filterdate=Weekday(2),App_Subform.visible/lock.True)
Am I close to the idea and if so where would be the best place to put the
code? Many thanks for taking the time to ready this. Any and all help much
appreciated.
Debbie D.