Results 1 to 2 of 2

Thread: Need HELPPPPPP.... ASAP....plz

  1. #1

    Thread Starter
    Fanatic Member Wen Lie's Avatar
    Join Date
    Jul 1999
    Location
    Singapore
    Posts
    524

    Question

    Dear All,

    I have questions about SQL Statements.
    Does anybody know about opening database with date variable as its criteria ???

    Let's say that I need to open UNDKT table. And the record that will be showed is the record which is input today.

    My SQL Statements :

    "Select * from UNDKT where input_date = " & DateValue(TglInput) & ""

    Is it true ??? Or you guys have something in mind ????

    Need Help ASAP...

    BRgds,
    Wen Lie
    Regards,
    [-w-]

  2. #2
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Lightbulb

    It should be like this.
    Code:
    "SELECT * FROM UNDKT WHERE input_date =#" & DateValue(TglInput) & "#;"

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