Results 1 to 2 of 2

Thread: Multiple Instances of Form

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Location
    Atlanta, GA
    Posts
    80

    Question

    Can I create multiple instances of a form? I have a search results page that displays a grid with records that match specific criteria defined by the user. I would like to give the ability to have multiple "Search Results" windows open at the same time.

    Can I create mulptiple instances of a form that have the exact same layout with the only difference being the recordset that the grid is poulated from?

    Thanks,
    Kevin
    VB6 w/SP4

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Just use:
    Code:
    Dim other as New Form1
    Dim different as New Form1
    other.sRecSet = "SELECT ..."
    different.sRecSet = "UPDATE ..."
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

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