|
-
Apr 12th, 2005, 04:24 AM
#1
Thread Starter
Lively Member
Simple coding(solved)
hi,
i want to display all the F_upDate which is greater or equal to today's date in the MSFlexGrid. Here is my coding, its only display one record only. Can someone help to modify it.
Dim today As String
today = Format$(Date, "dd/mm/yyyy")
With rs
.Open "Select * from tblDate where F_upDate >= '" & today & "' order by F_upDate desc", con, adOpenKeyset, adLockPessimistic
While Not rs.EOF()
MSFlexGrid1.AddItem rs!EnqNo & Chr(9) & rs!F_upDate & Chr(9) & rs!FirstName ................
rs.MoveNext
Wend
thanks
Last edited by vivian2u; Apr 12th, 2005 at 10:16 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|