Results 1 to 3 of 3

Thread: An SQL question .

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2000
    Posts
    156

    Question

    I want inserting to a table a Date !!
    I wrote the following statement :

    "INSERT INTO Projects (PNKey,Description,StartDate,EndDate) VALUES ('1','my date'," & mskStartDate.Text & "," & mskEndDate.Text & ")")

    Is there any particular way to send Date value to a table ?

    The MORE I get to know,
    I realize that I know NOTHING !

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Boulder, Colorado, USA
    Posts
    325
    Yes.. you have to enclose the date in curly braces {<date>}
    -Shickadance

  3. #3
    Addicted Member
    Join Date
    Jul 1999
    Location
    Portland, OR.
    Posts
    226
    Yes. you have to enclose the date in Pound Sign #<date>#

    # mskStartDate.Text # "," # mskEndDate.Text #


    I think !




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