Results 1 to 2 of 2
  1. #1
    dirtbiker1824 is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    4

    Leading Zeros

    I have a table with a Job Order field and a Key Op field. I then have an Update query to combine these two fields and update the JOKO field in the orrigional sheet. My problem is that I need the leading zero on the Job Order to stay. I accomplish this in the orrigional sheet by changing the type to number, Field size to double and format to 00000 since my job order is a 5 digit number. When ever I run the query using the function [JobOrder]&[KeyOp] the leading zero does not show.



    Example:
    Code:
    Job Order|KeyOp|JOKO
    04401|A02|4401A02
    23101|F01|23101F01

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Try

    Format([JobOrder], "00000") & [KeyOp]
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Adding Leading Zeros
    By jo15765 in forum Access
    Replies: 13
    Last Post: 11-20-2010, 11:11 PM
  2. Chart report leading zeros
    By mulefeathers in forum Reports
    Replies: 9
    Last Post: 06-02-2010, 08:49 AM
  3. Replies: 6
    Last Post: 04-30-2010, 01:57 PM
  4. leading 'Zeros' in data
    By wasim_sono in forum Forms
    Replies: 3
    Last Post: 04-06-2009, 11:57 AM
  5. Leading Zeroes
    By FREEEEEEDOM in forum Access
    Replies: 2
    Last Post: 04-06-2009, 10:23 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