Solved

Call control in main form from subform

Posted on 2003-12-09
5
264 Views
Last Modified: 2012-06-21
What is the syntax for this?  My control is public.

Thanks for your help.  Please let me know if there are questions.

IPT
0
Comment
Question by:iptrader
  • 2
  • 2
5 Comments
 
LVL 8

Expert Comment

by:NowaY
Comment Utility
Forms!F_Form1!F_Form1_Sub.Form![Control Name].Value
0
 
LVL 39

Accepted Solution

by:
stevbe earned 300 total points
Comment Utility
Parent in a built in key word for the main form, then add the name of the control and you should be all set

Me.Parent.YouControlNameHere

Steve
0
 

Author Comment

by:iptrader
Comment Utility
Steve, I tried that prior to posting question but it did not work.  Any other suggestions?

Thanks for your help.
0
 

Author Comment

by:iptrader
Comment Utility
Steve, never mind...one of my form properties was set incorrectly...thanks for your help and enjoy the points!

Best,

IPT
0
 
LVL 39

Expert Comment

by:stevbe
Comment Utility
thanks ... hope to see you back soon :-)
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now