How to open a new form?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
Dim MyIndex as String
Dim MyRecord As DataRow

MyIndex = MyComboBox.Items(MyComboBox.SelectedIndex).ToString

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top