I very new to VB so i might have this whole concept wrong. this is what im trying to do:
the following code would input info into the db using textboxs, etc to input the info.
Now I want to write a function that will output to a listviewbox. But i only want to list the projname and firstnameCode:Data1.Recordset.AddNew Data1.Recordset!ProjName = txtProjName.Text Data1.Recordset!lastname = txtlastName.Text Data1.Recordset!firstname = txtFirstName.Text data1.recordset.update
Can this be done?Code:Set itmX = LstTasks.ListItems.Add(1, , ??????) itmX.SubItems(1) = ??????
Is my thinking off?
Thanks!


Reply With Quote