Results 1 to 2 of 2
  1. #1
    Udeshi is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2013
    Posts
    1

    Export XML file from Access....

    i have an access table with few blank cells inside.
    when i export xml file, those blank cells are not showing in the xml file.



    eg: <work_note_table>
    <WIKey>xxxxx</WIKey>
    <WIName>xxxxx</WIName>
    <WSKey>xxxxx</WSKey>

    but there is another data cell for this row (WIType) and is blank.
    i want to show that entry also as empty.
    How can i export the file showing that entry too?

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    Sounds like you have a text field with a null value. If this is the case you could build an Access query dedicated for your export. In the query you could add a field that would return the phrase "NoData" where a null value exists.

    Assuming you have a Table named tblData and a Field called txtTextWithNullValues you could insert the following into the field properties of a new query.

    NewField: IIf([tblData].[txtTextWithNullValues] Is Null,"NoData",[tblData].[txtTextWithNullValues])

    You can do the same for number values that are returning Null or run an update query to fix your original table and insert zeros.

    hope this helps......
    Last edited by ItsMe; 09-12-2013 at 11:45 AM. Reason: add some info

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

Similar Threads

  1. Replies: 1
    Last Post: 01-24-2013, 11:47 PM
  2. Excel file that I export from Access is extremely large
    By Ronald Mcdonald in forum Access
    Replies: 1
    Last Post: 05-25-2012, 03:32 PM
  3. Replies: 5
    Last Post: 10-28-2011, 12:20 PM
  4. Replies: 3
    Last Post: 07-29-2011, 11:51 AM
  5. Export to Text File Using DoCmd Access 2007
    By tonere in forum Programming
    Replies: 1
    Last Post: 03-30-2011, 06:14 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