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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting values from a subform

Status
Not open for further replies.

HIM

Programmer
May 8, 2000
50
GB
I have created a form, with two subforms. From one of the subforms, I need to run some VB code, moving records (altering key values). In order to do this, I need to know the value of the key field of the selected record in the first subform.<br>Does anybody know how I can do this?<br><br>Thank you<br><br>HIM
 
[forms]![name of form]![name of subForm].Form![name of field] <br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top