Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 19th, 2005, 06:32 PM
Registered User
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default I Need Help

I have a Master form (Customer Orders) with a subform (subOrders). Is there a way I cam get the field OrderID (primary Key) contents from the subForm to display on the Master form (Customer Oders)?

 
Old January 16th, 2006, 06:03 AM
Friend of Wrox
 
Join Date: Dec 2005
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nalla Send a message via Yahoo to nalla
Default


Hi up2par75,
I'm not too sure what do you mean by master form and sub form but you can access one form's controllers from another in VB.

if OrderID is a text box in Form SubOrders, use SubOrders.OrderID in Customer Orders form.

Cheers,
   nalla



nalaka hewage









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.