VB Code:
Dim back As frmmain Dim lstItems As New ListViewItem Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load lstItems = ListView1.Items.Add(nam1) lstItems.SubItems.Add(Mid(mem1, 1, 4)) lstItems.SubItems.Add(nuscheck) lstItems.SubItems.Add("£" & tot1) End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click mystore = ListView1.Text TextBox1.Text = lstItems.Text End Sub End Class
Hi i need to get this working asap:?/
i am using a listview and on form2 when data is added it will add itself to form3, but the button on form3 to go back will go back, but when i add new data it will not add to listview with current data:/ how can i get around htis...
my code is above




Reply With Quote