I have a form that uses a combo box and subform. The subform is controlled by the combo box.
When a value is selected in the combo box it displays 1 record in the subform. I was to be able to delete this record using visual basic. I have tried the following type of thing:
[forms]![form_name]![subform_name.form(0)].delete
I know this is wrong because it does not work, can anybody point me in the right direction please?
Thanks in advance,
James [sig][/sig]
When a value is selected in the combo box it displays 1 record in the subform. I was to be able to delete this record using visual basic. I have tried the following type of thing:
[forms]![form_name]![subform_name.form(0)].delete
I know this is wrong because it does not work, can anybody point me in the right direction please?
Thanks in advance,
James [sig][/sig]