Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open form on click of detail line in subform 1

Status
Not open for further replies.

rlf1957

IS-IT--Management
Mar 7, 2003
60
0
0
US
Hello again,

I have a form/subform (for order data) similar to that found in Northwind db. What I am trying to do is open a data editting form when I click on the OrderID field in the desired subform line.
In the 'On Click' property of the OrderID field of the subform I have inserted a macro name. The macro does an 'OpenForm' usng a form named 'OrdEdit'. Problem is getting the OrdID value into the mix so as to open the form to that Order not the first one in the table.

Any help will be appreciated.
RLF1967
 
Create a command button through the wizard to open the editing form choosing the relation to view data and see the code behind it.

________________________________________________________________________
Zameer Abdulla
Visit Me
A person who misses a chance and the monkey who misses its branch can't be saved.
 
Thanks for the assistance - it worked great

RLF1957
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top