Results 1 to 6 of 6

Thread: Simple coding(solved)

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2005
    Posts
    81

    Resolved 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
  •  



Click Here to Expand Forum to Full Width