Results 1 to 3 of 3

Thread: Interweaving Data on Different Forms {resolved}

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2005
    Location
    New South Wales, Australia
    Posts
    55

    Resolved Interweaving Data on Different Forms {resolved}

    Hey guys,

    I have two forms. I want to take two numbers from one form and place them on another form...Any ideas on how to do it?

    Any would be great...

    Darcey_123
    Last edited by darcey_123; Jun 12th, 2005 at 02:17 AM.

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Interweaving Data on Different Forms

    Precede the formname on the assignment statement.
    VB Code:
    1. form2.f2name.text = form1.f1name.text

  3. #3
    Junior Member
    Join Date
    May 2005
    Location
    Jalgaon, Maharashtra, India
    Posts
    22

    Re: Interweaving Data on Different Forms

    'In Module Declare Two Variables as

    global n1 as string , n2 as string

    'In First Form

    Private Sub Command1_Click()
    n1 = Text1.Text
    n2 = Text2.Text
    End Sub

    'in Second Form

    Private Sub Form_Load()
    Text1.Text = n1
    Text2.Text = n2
    End Sub

    Your Problem Will be Solved

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