473,395 Members | 2,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Mainform/subform/subform control problem

Using A2K. I've got a mainform with a subform (subfrm1). There's a
subform within that subform (subfrm2).

When an amount is entered on the mainform, I want that amount to
appear on subfrm1 and subfrm2. It's appearing on subfrm1 OK but not
on subfrm2. Here's my syntax:

Me.subfrmBatchFunds.Form!subfrmBatchObjectCodes.Fo rm!txtAmount =
Me.txtCheckAmount
Debug shows that the amount is getting stored in the control on
subfrm2 but it's not displaying on the form.

What am I doing wrong? Thanks for any help or advice.
Nov 12 '05 #1
3 1299
Could you try

Me.subfrmBatchFunds.Form!subfrmBatchObjectCodes.Fo rm.txtAmount =
Me.txtCheckAmount

Pavel

Ellen Manning wrote:

Using A2K. I've got a mainform with a subform (subfrm1). There's a
subform within that subform (subfrm2).

When an amount is entered on the mainform, I want that amount to
appear on subfrm1 and subfrm2. It's appearing on subfrm1 OK but not
on subfrm2. Here's my syntax:

Me.subfrmBatchFunds.Form!subfrmBatchObjectCodes.Fo rm!txtAmount =
Me.txtCheckAmount

Debug shows that the amount is getting stored in the control on
subfrm2 but it's not displaying on the form.

What am I doing wrong? Thanks for any help or advice.

Nov 12 '05 #2
Tried that already...didn't work. Again, debug says the value is in
there but it won't display on the form.
Pavel Romashkin <pa*************@hotmail.com> wrote in message news:<40***************@hotmail.com>...
Could you try

Me.subfrmBatchFunds.Form!subfrmBatchObjectCodes.Fo rm.txtAmount =
Me.txtCheckAmount

Pavel

Ellen Manning wrote:

Using A2K. I've got a mainform with a subform (subfrm1). There's a
subform within that subform (subfrm2).

When an amount is entered on the mainform, I want that amount to
appear on subfrm1 and subfrm2. It's appearing on subfrm1 OK but not
on subfrm2. Here's my syntax:

Me.subfrmBatchFunds.Form!subfrmBatchObjectCodes.Fo rm!txtAmount =
Me.txtCheckAmount

Debug shows that the amount is getting stored in the control on
subfrm2 but it's not displaying on the form.

What am I doing wrong? Thanks for any help or advice.

Nov 12 '05 #3
I would recommend re-creating the faulty control (deleting it
altogether, then making the new one and writing event code again from
scratch) on the subform. This helped me in cases when nothing seems to
make sense.

Pavel

Ellen Manning wrote:

Tried that already...didn't work. Again, debug says the value is in
there but it won't display on the form.

Pavel Romashkin <pa*************@hotmail.com> wrote in message news:<40***************@hotmail.com>...
Could you try

Me.subfrmBatchFunds.Form!subfrmBatchObjectCodes.Fo rm.txtAmount =
Me.txtCheckAmount

Pavel

Ellen Manning wrote:

Using A2K. I've got a mainform with a subform (subfrm1). There's a
subform within that subform (subfrm2).

When an amount is entered on the mainform, I want that amount to
appear on subfrm1 and subfrm2. It's appearing on subfrm1 OK but not
on subfrm2. Here's my syntax:

Me.subfrmBatchFunds.Form!subfrmBatchObjectCodes.Fo rm!txtAmount =
Me.txtCheckAmount

Debug shows that the amount is getting stored in the control on
subfrm2 but it's not displaying on the form.

What am I doing wrong? Thanks for any help or advice.

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Charlene | last post by:
I have an Invoice/Invoice Details form/subform. In the page footer of the Invoice Details subform I have a textbox with the control source set to =Sum(). I then pull this value into the main form...
0
by: Sabine Oebbecke | last post by:
Hi Experts! I have several forms and reports where controls get their values with 'Forms!MainForm!Control' or 'Forms!MainForm!Subform!Control' resp 'Forms!MainForm!Subform.Form!Control' which...
5
by: Bob | last post by:
Hi Everybody I have a form called frmListBox that is connected to a table tblListBox. This is opened from a form called "frmInvoiceOrder" which has a subform called "zfrmInvoiceOrder" and...
0
by: P Mitchell | last post by:
Hello I would like someone to be able to help with the updating of data in a lookup list in a subform. In short, is their a VB instruction that is the equivalent of performing the action of...
1
by: Terri | last post by:
I'm summing subform records in a control on a main form. I have a control in the subform footer called TotalAmount with the control source =Sum(). On my mainform control I reference this control...
5
by: jedraw | last post by:
I am trying to use the information provided in Allen Brownes response see Response. I have a mainform, a tabctl with 5 pages , 5 subforms and 1 subfrom control. I placed the subformname in the...
18
by: Robert Jacobs | last post by:
Please advise... I currently have a Mainform (Customers) and a Subform (Service Requests) with a one to many relationship (one customer, many service requests) with a CustomerID that is unique...
2
by: NerdyGirL | last post by:
Hello, I've read thru numerous post/archives trying to decipher the cause of my problem to no avail. I'm just basically trying to conduct a search by using a form in order to locate data that may...
5
by: JHite | last post by:
I’m using Access 2003 on Windows XP. I have a Mainform (Staff Entry) which displays an unbound combo box named ChooseStaff. The Row Source for this combo box is a SELECT of the UserIDs and Staffer...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.