Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004
    Posts
    21

    Unanswered: Passing a Child form value to Parent form field

    Can this be done and how?

    I have a child object that is a form. User does a search in the child object. I want one of the result field values to also appear in the parent form in a specific field.

    I've tried several ways, but to no avail. Since the child form data source is a different table than the parent data source, I wasn't sure if I was going beyond the scopes. I've tried passing variables using the specific parent form name and I've tried using the 'Me' form name method. Is there a child object form name that I should be using?
    ---------------------
    Thanks
    David

  2. #2
    Join Date
    Sep 2001
    Location
    Chicago, Illinois, USA
    Posts
    601
    Me. refers to the current form.


    Parent. refers to the parent form.

  3. #3
    Join Date
    Feb 2004
    Location
    Houston, Texas
    Posts
    45
    A syntax similar to:
    me.parent.txtBoxOnParent.value = me.txtBoxOnSubForm.value

    should work.
    ...rtk

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •