Results 1 to 2 of 2

Thread: Call a form by variable

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Posts
    81
    I need to be able to do this x.show where x = form2

    Something to that extent where i can just pass the form name to x and do the show if not im going to have a case statment from here to the moon.


    Thanks
    -------------------------
    There is never only one right answer. That is the magic of programming.
    -------------------------

  2. #2
    Lively Member
    Join Date
    Mar 2000
    Posts
    82
    create var:
    private x as form2 (or form)

    then:

    set x = form2
    x.show

    should work.

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