I have a listview loading my invoice data,Private Sub UtilizeBtn_Click()
SalesReceiptPaidAmountForm.Show
Dim y As Integer
For y = 1 To 7
If Me.ListView1.ListItems.Checked = True Then
With SalesReceiptPaidAmountForm
.TextBox1.Text = Me.ListView1.ListItems.ListSubItems(1)
.TextBox2.Text = Me.ListView1.ListItems.ListSubItems(2)
.TextBox3.Text = Me.ListView1.ListItems.ListSubItems(3)
.TextBox4.Text = Me.ListView1.ListItems.ListSubItems(4)
.TextBox5.Text = Me.ListView1.ListItems.ListSubItems(5)
.TextBox6.Text = Me.ListView1.ListItems.ListSubItems(6)
.TextBox7.Text = Me.ListView1.ListItems.ListSubItems(7)
.TextBox8.Text = Me.ListView1.ListItems.ListSubItems(1)
.TextBox9.Text = Me.ListView1.ListItems.ListSubItems(2)
.TextBox10.Text = Me.ListView1.ListItems.ListSubItems(3)
.TextBox11.Text = Me.ListView1.ListItems.ListSubItems(4)
.TextBox12.Text = Me.ListView1.ListItems.ListSubItems(5)
.TextBox13.Text = Me.ListView1.ListItems.ListSubItems(6)
.TextBox14.Text = Me.ListView1.ListItems.ListSubItems(7)
MsgBox Me.ListView1.ListItems
End With
End If
Me.ListView1.ListItems.Checked = False
Next y
End Sub
i create a checkbox next to it.
when i tick the listview and click on the utilize button.
how to make it like in asceding appear in each different textbox1......textbox 49?
how to make like
textbox 1 -7 for value in checkbox 1
textbox 8-14 for value in checkbox 2
textbox 15-21 for value in checkbox 3
textbox 16-28 for value in checkbox 4 etc.....
plssss i been revolve this issue for dayssss