2 textbox in input box
HI,
I know about inputbox bit i want to know that is it possible that input box can provide user to enter in 2 text boxes.
Now i want input box to ask employee id and dependent name
and user should provide employee id in one textbox ie what it provides for user to write
And should provide second text box to provide dependent name
ian mew to VB i don't know whether it is there or not.
if it is there then please tell me how to do this?
thank u
sowmya s
[534 byte] By [
sowmya s] at [2007-11-19 19:55:16]

# 1 Re: 2 textbox in input box
Just design your own small form, with any buttons that you might want.
If you call it using NEW, you can place it anywhere before it's visible. I use this method for a universal Common Dialog Box, which I use for all CDC actions.
# 2 Re: 2 textbox in input box
ok, this is good.........
But we can't do using inputbox itself?
thank u
sowmya s
# 3 Re: 2 textbox in input box
Because it only allows one field to be input.
Look at frmLogin in the IDE. It has Username, and stars out the Password field. It also has two buttons.
You could use that, and change it around, but it's just as easy to design your own. You could edit the fields inside of the form, so that only valid data gets returned.
# 4 Re: 2 textbox in input box
well in input box you cannot make 2 entries.
still if u need that ur programme has to have a input box only then you can take the input from the user in the same text box while getting the inputs seperated by comma and once you get the string you take that in a variable and using split function break it into two and then you will get those two names you required.
Hope it helps!!
Take Care!!
pranay at 2007-11-9 20:14:02 >

# 5 Re: 2 textbox in input box
ok pranay,
Thank u , just i wanted to know that whethere we can do or not
Thank u
sowmya s