inputbox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ciwanito
    New Member
    • Aug 2008
    • 1

    inputbox

    hi there, im trying to connect inputbox with other form. What basically i do is,
    inputbox("Pleas e enter the name") and im trying to code it with, lets say, if the user enter particular name then it should jump other form and so on...

    any help would be much appreciated.
    REgards,
    Ciwanito
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    You want to open another form based on user input? Or do you just want to pass that value to another form?

    If it is the former, you will have to parse the input, possibly with a Select Case statement. Based on the result, you can open another form.

    If you just want to pass data, there are two ways. One is exposing a member of your target form as Public, the other is adding a parameter to it's constructor. The constructor is the Public Sub New(). If you don't have one, you can add one.

    If neither of these answer your question, please clarify.

    Comment

    Working...