472,805 Members | 821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 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 1278
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.