Solved

Sub forms

Posted on 1998-11-20
2
131 Views
Last Modified: 2010-05-03
How can I refer to a text box in my subform from my VB code in the parent form.

thank you
0
Comment
Question by:abidsml
2 Comments
 
LVL 1

Accepted Solution

by:
yfang earned 20 total points
ID: 1445976
Including the formname.  For excample: if your child form is frmChild and the textbox is text1.  You could change the text in the textbox into "test" using the code in the parent form in this way:

frmChild.text1.text="test"
0
 

Author Comment

by:abidsml
ID: 1445977
thank you
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

837 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