×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Referencing control values in a subform

Referencing control values in a subform

Referencing control values in a subform

(OP)
I have created a Quality Control application in Access 97.  I have an Income/ATP Calculation form that comprises a main form with 2 subforms.  All of the forms have  a one-to-one relationship.  All of the expressions work fine, except I am trying to pull a value off of a control in one of the subforms into a control on one of the other subforms.  Despite giving the full reference to the control Forms!formname!controlname, the value isn't pulled into the control.  This works for referencing a control on the main form.  I'm at my wit's end on this.  The only other option I can think of is to use a DLookup of the value in the control.  But DLookups can take time since they are really queries.  Any help on this would be appreciated!

RE: Referencing control values in a subform


Did you try ref the form as a sub with Forms!MyMainForm!Forms.MySubForm.FieldName

I recall linking a field on a sub form to a sub and including the ref to the main and sub form in the call.

Jim

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close