Results 1 to 2 of 2

Thread: Date Problem....

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2005
    Location
    INDIA
    Posts
    65

    Exclamation Date Problem....

    Dear Friends,
    I am making a program,which requires the connection string query to return the dates... to the recordset
    VB Code:
    1. rst.open "Select * from table1 where dates>= " & dateadd("d",-val(combo1.text),now),conn,

    Here dates is of DateTime Data type in MS Access which stores dates in table1.
    combo1.text is numerical....


    Actually i want to get the data for all the dates in the table,before combo1.text days from now...

    HELP ME,

    Thanks
    "What we are is not decided by our qualities,
    What we are is decided by our decisions"
    -Albus Dumbledore
    harry potter and the chamber of secrets

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Date Problem....

    Please do not post duplicate threads.

    This has been answered in your other copy of this thread here.

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