M
Mick
Here's what I've got, a 'call management' type database which has a
main form with the users information in it, then a sub form in list
view of all their service calls. We want to be able to double click on
the call number (ID ) and have it open that record in a separate form
in form view. I setup the 'on doubleclick' action to run a macro which
opens the form with the criteria:
[WorkorderID]=[Forms]![WorkordersbyCustomerSubform]![WorkorderID]
So that it will open the new form to the work order that I clicked on.
I used this in a previous database and it works well, but in that DB I
have the 1st form in form view rather than data sheet view. It seems
like with the new DB since it is in data sheet view it needs some code
to specify that on double click it should open the other form applying
the criteria above but also specify that it should be the workorderid
of the current record, but I can't find a way to specify that. I tested
by switching the subform into form view and it worked as expected.
Does any of this make sense? Anybody got a solution? Thanks!
Mick
main form with the users information in it, then a sub form in list
view of all their service calls. We want to be able to double click on
the call number (ID ) and have it open that record in a separate form
in form view. I setup the 'on doubleclick' action to run a macro which
opens the form with the criteria:
[WorkorderID]=[Forms]![WorkordersbyCustomerSubform]![WorkorderID]
So that it will open the new form to the work order that I clicked on.
I used this in a previous database and it works well, but in that DB I
have the 1st form in form view rather than data sheet view. It seems
like with the new DB since it is in data sheet view it needs some code
to specify that on double click it should open the other form applying
the criteria above but also specify that it should be the workorderid
of the current record, but I can't find a way to specify that. I tested
by switching the subform into form view and it worked as expected.
Does any of this make sense? Anybody got a solution? Thanks!
Mick