|
-
Jan 11th, 2004, 01:12 AM
#1
Thread Starter
Hyperactive Member
updating a record using a dataset, multiple forms
i would like to update a record using a dataset on two forms.
form1 has a list of all the values that are return. the user double clicks on a record and form2 pops up with a textbox so that the user can type in the new value...
i can pass the whole dataset to form2 and have form two update it. but i dont want too seeing there are alot of records. is there an easier way of doing this? how about binding the textbox on form 2 to the dataset on form1? the dataset is named oDataset and is declared in a module.
Dim frmform2 As New form2(oDataset.Tables("ServerList").Rows(Me.BindingContext.Item(oDataset.Tables("ServerList")).Posit ion))
frmform2.Show()
on form2 i use a datarow to update the record that form1 puts into the textbox (above statement)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|