Results 1 to 3 of 3

Thread: date?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2000
    Location
    Panama
    Posts
    17

    Exclamation

    hello
    i have a textbox and in form load a write
    Text1 = Format$(Date, "dd/mm/yyyy")
    i run the form and show me the correct date.
    my problem is when i insert in the database, insert mm/dd/yyy

    ¿what is the problem?

  2. #2
    Hyperactive Member D12Bit's Avatar
    Join Date
    Oct 2000
    Location
    Guatemala
    Posts
    373

    Question

    Hi,

    Just asking...

    Is your database a .mdb?

    if it is, have you checked the format in the database
    of the date field to be "dd/MM/yyyy"?

    Saludos...
    "Who Dares Wins" - "Quien se Arriesga Gana"
    Mail me at:

  3. #3
    Hyperactive Member
    Join Date
    Nov 2000
    Location
    Mexico City
    Posts
    306

    Lightbulb

    For mbd, try:
    "....where yourdate=cdate('" & format(date,"yyyy/mm/dd") & "')..."

    For non mdb,
    "....where yourdate='" & format(date,"yyyy/mm/dd") & "'..."

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