Results 1 to 3 of 3

Thread: [RESOLVED] Which form called the opened Form?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2003
    Location
    Out there somewhere!
    Posts
    386

    Resolved [RESOLVED] Which form called the opened Form?

    In VB 6 I have a form that can be opened by a number of other forms. This form needs to know which form opened it, is there a quick and easy way to do this other than setting a global variable of type form?

    Kev.

  2. #2
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    Re: Which form called the opened Form?

    One way would be to place the source Forms Name in the Forms .Tag.

    Ie.
    Form3.Tag = Me.Name
    Form3.Show

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2003
    Location
    Out there somewhere!
    Posts
    386

    Resolved Re: Which form called the opened Form?

    Exactly what I was looking for.

    Thanks Bruce

    Kev.

Posting Permissions

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



Click Here to Expand Forum to Full Width