By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,694 Members | 1,320 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,694 IT Pros & Developers. It's quick & easy.

How to open a new form?

P: n/a
I have created a form and a pop-up dialog box. When the user selects a
particular ID from the combo box and then click on the Edit button, I want
the form to appear showing the details of the selected record. How do I do
so? What are the methods that I can use?
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

Dim MyIndex as String
Dim MyRecord As DataRow

MyIndex = MyComboBox.Items(MyComboBox.SelectedIndex).ToStrin g

MyRecord = MyTable.Items.Find(MyIndex)
MyPopUpDialog.MyTextField.Text = MyRecord.Item( ColumIndex )

.. . . and so on . .
HTH
--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

"Nexus" <Ne***@discussions.microsoft.com> wrote in message
news:69**********************************@microsof t.com...
I have created a form and a pop-up dialog box. When the user selects a
particular ID from the combo box and then click on the Edit button, I want
the form to appear showing the details of the selected record. How do I do
so? What are the methods that I can use?

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.