467,927 Members | 1,987 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,927 developers. It's quick & easy.

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
  • viewed: 1148
Share:
3 Replies
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Charlene | last post: by
reply views Thread by P Mitchell | last post: by
18 posts views Thread by Robert Jacobs | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.