I'm trying to fire a procedure from VBA without much success...
I have OrderItems (mainform), each OrderItem can have several Drops to customer (subform). When I navigate the OrderItems I want to add one default Drop per OrderItem.
My problem is I can't trap an empty recordset in the subform using any of these methods:
If me.recordset.recordcount = 0 then...
If me.Recordset.EOF then ...
If me.Recordset.BOF then ...
The subform is filtered when navigation buttons on the mainform are clicked. I guessed an OrderItem without a Drop record would result in an empty recordset, but that doesnt seem to be the case.
Any ideas?? I'm confused...
RK
I have OrderItems (mainform), each OrderItem can have several Drops to customer (subform). When I navigate the OrderItems I want to add one default Drop per OrderItem.
My problem is I can't trap an empty recordset in the subform using any of these methods:
If me.recordset.recordcount = 0 then...
If me.Recordset.EOF then ...
If me.Recordset.BOF then ...
The subform is filtered when navigation buttons on the mainform are clicked. I guessed an OrderItem without a Drop record would result in an empty recordset, but that doesnt seem to be the case.
Any ideas?? I'm confused...
RK