Results 1 to 2 of 2

Thread: Dates

  1. #1
    Jaykay Guest

    Default Dates

    How can I pass a current Date and time into SQL only when a certain criteria is chosen from a drop down box? Any other times the field will be a NULL.

  2. #2
    Join Date
    Dec 1969

    Default RE: Dates

    Use an if... then... else... statment with two different sql statments.<BR><BR>if criteria = true then<BR> sql = "with date" <BR>else<BR> sql = "null date"<BR>end if<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts