Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Mar 31st, 2008, 1:21 PM   #1
shidayati
Newbie
 
Join Date: Mar 2008
Posts: 5
Rep Power: 0 shidayati is an unknown quantity at this point
someone plz help me with mh code

vb Syntax (Toggle Plain Text)
  1. Private Sub Label5_Click()
  2. Dim pegang3 As String
  3. If Option2.Value = True Then
  4.  
  5.  
  6. Set General = db.OpenRecordset("select * from GeneralLog WHERE DATE LIKE '*" & Text2.Text & "*'")
  7.  
  8. Text2 = Combo2 & "/" & Combo1 & "/" & Combo3
  9. pegang3 = Combo2 & "/" & Combo1 & "/" & Combo3
  10.  
  11. If Text2 <> "" Then
  12.  
  13.  
  14.  
  15. 'Text2 = rsGeneral.Fields!Date
  16.  
  17. Text2.Text = General.RecordCount
  18.  
  19. frmadmin.txtDate = pegang3
  20.  
  21. If General.RecordCount <> 0 Then
  22. Do While Not General.EOF
  23. If General.Fields!Date = Text2.Text Then
  24. Call loadLV
  25. End If
  26.  
  27. General.MoveNext
  28. Loop
  29.  
  30.  
  31. Else
  32. MsgBox ("Record 0")
  33. End If
  34. End If
  35. End If
  36.  
  37.  
  38. End Sub






""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
i don't what problems with this code..something with their looping and call funtion not work properly.the result no shown like i want and not appear at listview data.

Last edited by big_k105; Mar 31st, 2008 at 3:53 PM.
shidayati is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Incorporating javascript code into java application csrocker101 Java 1 Feb 11th, 2008 6:36 AM
Viewing VB's Automated code john Wesley Visual Basic .NET 3 Jun 8th, 2006 5:37 AM
FTP and return code fetching Serinth C 2 May 28th, 2006 11:05 PM
String to Morse Code - Copying from string to string Xenon C 29 Nov 10th, 2005 2:30 PM
Code suggestions Mad_guy Perl 0 Feb 18th, 2005 10:31 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:56 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC