Guest_imported
New member
- Jan 1, 1970
- 0
Hello
I have a Form "Parts" that contains a combo box. The form also contains a Subform "PartsSubform".
Im trying to get it so that a message box appears in the afterupdate event for the combobox. The catch is that i only want it to appear if there are records in the subform.
Im just wondering if i could use an "if statement" to achieve this. If I can does anyone know how i would phrase it.
I believe that i could use DAO to access the the table relating to the subform. Then check if any records exist according to the criteria of the mainform. However if i can just use an "if" statement it would make it much easier.
Thanks for any advice given.
I have a Form "Parts" that contains a combo box. The form also contains a Subform "PartsSubform".
Im trying to get it so that a message box appears in the afterupdate event for the combobox. The catch is that i only want it to appear if there are records in the subform.
Im just wondering if i could use an "if statement" to achieve this. If I can does anyone know how i would phrase it.
I believe that i could use DAO to access the the table relating to the subform. Then check if any records exist according to the criteria of the mainform. However if i can just use an "if" statement it would make it much easier.
Thanks for any advice given.