Re: Open From From SubForm Help Needed



Terry wrote:

I have a sub form (subfrmOrderStatus) that has a data source of a query
(qryOrderStatus) that shows all a list of all open orders. I want to be
able to double click on any row in this dataview and have the Order
Form(frmOrders) open up to show the specific order number that I just
clicked on.


In the double click event, use something like:

DoCmd.OpenForm "frmOrders", , , "OrderID=" & Me.OrderID

--
Marsh
MVP [MS Access]
.



Relevant Pages

  • Re: Open From From SubForm Help Needed
    ... (qryOrderStatus) ... that shows all a list of all open orders. ... able to double click on any row in this dataview and have the Order ... MVP ...
    (microsoft.public.access.formscoding)
  • Open From From SubForm Help Needed
    ... I have a sub form that has a data source of a query ... (qryOrderStatus) ... that shows all a list of all open orders. ...
    (microsoft.public.access.formscoding)

Loading