Results 1 to 4 of 4
  1. #1
    9944pdx is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jan 2011
    Location
    PDX
    Posts
    44

    query issues

    Good morning!



    In my export query I have a [Date Field mm/dd/yyyy] but when i run the run the query that needs to be shown as an integer value.

    Example: ID: [Date of issue]&"-"&[How many per day #]&"-"&[Tag #]
    When I close the query and run the export will then look like this:

    01/12/2011-1-2056 but I need it look like this 40555-1-2056.

    I am soooooooooo very new at this. Any help would be great.

    Regards,
    pdx

  2. #2
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    Welcome to the forum!

    You will have to convert the date to a long number rather than strictly an integer.

    I think this is what you may be after:

    clng([Date of issue]) & "-" & [How many per day #] & "-" & [Tag #]

  3. #3
    9944pdx is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jan 2011
    Location
    PDX
    Posts
    44
    Thank you so much...it works!!!!

  4. #4
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    You're welcome.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Query speed issues
    By thart21 in forum Queries
    Replies: 2
    Last Post: 04-07-2010, 05:16 PM
  2. Replies: 1
    Last Post: 03-23-2010, 04:01 PM
  3. Query duplication issues
    By MiCCAS in forum Queries
    Replies: 1
    Last Post: 02-18-2010, 11:31 AM
  4. between query issues
    By jderrig in forum Queries
    Replies: 4
    Last Post: 01-15-2010, 02:30 PM
  5. Replies: 4
    Last Post: 11-06-2009, 09:51 AM

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