View Single Post
Old Apr 1st, 2008, 7:21 AM   #5
shidayati
Newbie
 
Join Date: Mar 2008
Posts: 5
Rep Power: 0 shidayati is an unknown quantity at this point
Re: someone plz help me with my code

vb Syntax (Toggle Plain Text)
  1. ''''call function
  2.  
  3.  
  4. Private Sub loadLV()
  5.  
  6. '''''function in search'''''''''
  7.  
  8. On Error Resume Next
  9. ListView1.ListItems.Clear
  10.  
  11. Do While Not General.EOF
  12. Set items = ListView1.ListItems.Add(, , General.Fields!Log)
  13. 'items.SubItems(1) = rsSTUDENT.Fields!STUDENTNAME
  14. items.SubItems(1) = General.Fields!Date
  15. items.SubItems(2) = General.Fields!ATTENDANCE
  16.  
  17. General.MoveNext
  18. Loop
  19. End Sub

Last edited by big_k105; Apr 1st, 2008 at 10:43 AM. Reason: added Code Tags
shidayati is offline   Reply With Quote