Hi there,
Can anyone tell me when the Form Property "selectionchange" kicks in?
I am trying to use this to run an event procedure.
I have a sub form datasheet which contains a date, and when the selection is changed from one record to another in the sub form, I would like to run an event procedure that updates certain fields on the main form, according to the date.
I have put msgbox in the event procedure, but it doesn't trigger when the selection is changed? or am I misunderstanding the property?
I have also tried got focus, lostfocus, beforeupdate, but they only trigger when the record is changed, not just when the selection is changed.
Thanks
Marion
:banghead:
Can anyone tell me when the Form Property "selectionchange" kicks in?
I am trying to use this to run an event procedure.
I have a sub form datasheet which contains a date, and when the selection is changed from one record to another in the sub form, I would like to run an event procedure that updates certain fields on the main form, according to the date.
I have put msgbox in the event procedure, but it doesn't trigger when the selection is changed? or am I misunderstanding the property?
I have also tried got focus, lostfocus, beforeupdate, but they only trigger when the record is changed, not just when the selection is changed.
Thanks
Marion
:banghead: