Results 1 to 4 of 4
  1. #1
    sameerkadoo is offline Novice
    Windows 7 64bit Access 2002
    Join Date
    Jun 2012
    Posts
    6

    extract data from Access

    Hello,

    I want to export data from access to XML and want to format the date field while exporting.


    How do i do that?

    Regards,
    Sameer K

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Build query. Use Format function in query expression. Export the query.

    SELECT Format([myDateField], "mm/dd/yyyy") As MyDate FROM tablename;
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    sameerkadoo is offline Novice
    Windows 7 64bit Access 2002
    Join Date
    Jun 2012
    Posts
    6
    Thank you it worked...
    Another problem i am facing now... tried to extract table from Access in XML format. On completing the extraction, the XML dissappears from the folder where it was stored.....
    Also, How do i see SQL query for table in Access... the SQL view option is not seen in the ACCESS dropdown.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Since you started another thread with those questions, will respond there.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 13
    Last Post: 10-26-2011, 03:49 AM
  2. Extract/Populate Data
    By tylerg11 in forum Forms
    Replies: 1
    Last Post: 09-26-2011, 05:54 PM
  3. Extract Specific Data from Access
    By iamstupid in forum Access
    Replies: 1
    Last Post: 05-26-2011, 12:58 AM
  4. Extract data at end of cell
    By madsc1 in forum Access
    Replies: 2
    Last Post: 03-21-2011, 04:12 PM
  5. Extract Text Data
    By tmcrouse in forum Queries
    Replies: 5
    Last Post: 05-25-2010, 11:34 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