Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652

    Micron seems to be saying that isn't the problem, but you didn't actually use the technique in the link. You applied it to a variable, but you don't use that variable in the SQL (plus you overwrote the variable with another value anyway).
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  2. #17
    Luisa is offline Novice
    Windows Vista Access 2003
    Join Date
    Jun 2017
    Location
    Woodbridge, Ontario
    Posts
    8
    Hello Paul and Micron, I was looking at the dates the query generated and noticed that the day increases by increments of 1, the month was always January and the year increases by increments of 1 when needed. Then it finally clicked what Paul has been saying to change my System Date to English (United States). I ran my query and it worked.

    Thank you so much for your help and patience ,
    Luisa

  3. #18
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    Your date settings are independent of the language and regional settings, but by changing to US, you adopted the required date setting by default. You can choose Canadian settings (which will affect which dictionary you use) and still have the date format required since it's a separate option. I have English(Canada) setting, and the function worked properly for me. Just so you know.

  4. #19
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Maybe this will help

    Microsoft Access Tips for Serious Users



    find Dates in Strings at
    http://allenbrowne.com/ser-30.html

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Pass a variable to a Pass Through Query
    By violeta_barajas in forum Access
    Replies: 2
    Last Post: 01-26-2017, 07:59 PM
  2. Replies: 5
    Last Post: 04-27-2015, 02:40 PM
  3. Replies: 7
    Last Post: 03-11-2015, 12:48 PM
  4. INSERT query: insert new data only
    By drh in forum Access
    Replies: 2
    Last Post: 04-04-2014, 05:31 PM
  5. Insert Pass-Through Results into Access Table with VB
    By raynman1972 in forum Programming
    Replies: 3
    Last Post: 06-20-2012, 08:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums