Results 1 to 10 of 10
  1. #1
    drunkenneo is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    199

    Export have missing data

    I have a primary Key in table with input mask as M00000, but when exported it comes without M only digits are coming any suggestions on this?

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    What exactly is being entered into these fields? I am guessing that maybe you are just entering numbers, and the mask is displaying the "M".
    Is this field's data type Text or Numeric?

    How exactly are you exporting the data?
    Which method are you using and what kind of file are you exporting to (text, Excel, etc)?

  3. #3
    drunkenneo is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    199
    What u guessed about maskin is correct its an autonumber, i am exporting by makon select query only and using export excel in this

  4. #4
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    How do you do that?
    If I select the "Autonumber" Data Type, it does not even give me a Input Mask property option (because with Autonumber, you are not actually entering anything, it is populated automatically).
    I see a "Format" option. Is this what you are using?

  5. #5
    drunkenneo is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    199
    Yes thats right

  6. #6
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    When I tried to enter M00000 in the Format field in my Access, it does weird things, and changes it to m"00000".
    It might be best if you do into the Properties of this field, so a screen print, and post it here, so we can see exactly how all the Properties of this field are set.

  7. #7
    drunkenneo is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    199
    Make it to \M00000, it will gie the requored result as it negate M and take it as constant

  8. #8
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    i am exporting by makon select query only and using export excel in this
    On the Export screen, underneath the "File name" and "File format" parameters, there should be a check box that says "Export data with formatting and layout".
    If you check this box, then the data will be exported with the custom format with the "M" you set up.

  9. #9
    drunkenneo is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    199
    can this be done through the transfersheet code

  10. #10
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    When it comes to maintaining formatting, I have had better luck using the OutputTo option than TransferSpreadsheet.

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

Similar Threads

  1. Replies: 2
    Last Post: 03-05-2013, 10:52 PM
  2. All data missing from a table
    By Geezelweezel in forum Misc
    Replies: 1
    Last Post: 03-01-2012, 12:14 PM
  3. Export from Access 2003 to Excel 2003 - missing fields
    By Jack Sheet in forum Import/Export Data
    Replies: 1
    Last Post: 02-29-2012, 04:09 PM
  4. Annoying error on macro export to excel - missing rows
    By Blueweasel in forum Import/Export Data
    Replies: 0
    Last Post: 12-15-2011, 04:41 AM
  5. Missing data on form
    By AndycompanyZ in forum Forms
    Replies: 1
    Last Post: 06-24-2011, 03:27 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