Results 1 to 3 of 3
  1. #1
    dhartley is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    4

    Can a Pass Through query be made to retrieve all results in plain text?

    I'm running a pass through query against a database and then using a make table to save the results locally in access.

    One of the issues I'm facing is that access is changing the data type, e.g. dates are automatically formatted and NULL values are not being shown. Is there a way to stop access from automatically doing this, e.g storing it in a plain text format or something similar?



    Thanks

    Dave

  2. #2
    dhartley is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    4
    Sorry to bump this, but can anyone help or is the answer no?

  3. #3
    John_G is offline VIP
    Windows XP Access 2003
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    Hi -

    When is access changing the datatype, when it gets the data from the external database, or when you run the make-table query? From what I can see, the pass-through gets whatever the external DB gives it, so when you run the make-table that is what it uses. One thing you could do is create your local table as you want it to be, and then use an Append query instead of a make-table.

    What do you mean when you say Access is reformatting dates? In Access, the format of a date is for display purposes only - internally it is always the same. If it is changing the dates, that's a different issue entirely.

    When you say "null values are not being shown", what do you mean by that? Access shows nulls as blanks by default - if you what to explicity see "Null" (for example), you would have to format it that way in a query.

    HTH

    John

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

Similar Threads

  1. Replies: 4
    Last Post: 02-22-2012, 12:43 PM
  2. Query does not retrieve all the rows
    By jon80 in forum Access
    Replies: 1
    Last Post: 01-01-2012, 05:30 AM
  3. Just want a plain Birthday Report
    By Palomino33 in forum Queries
    Replies: 7
    Last Post: 11-03-2011, 05:29 PM
  4. Replies: 4
    Last Post: 08-16-2011, 05:54 PM
  5. Convert rtf to plain text
    By techneophyte in forum Programming
    Replies: 0
    Last Post: 09-08-2010, 11:13 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