Results 1 to 3 of 3
  1. #1
    Monterey_Manzer is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2012
    Posts
    164

    Report data changing in export to Excel

    Hi All,

    I am having a very odd problem. My dBase is primarily utilized via forms to enter data and reports that present that data. In most cases these reports get exported to Excel for additional manipulations as well as sharing with employees who are not on site and cannot utilize a front end database since they cannot connect to the back end database. Just recently I noticed that one report (I hope it is just this one) is presenting incorrect data once it is exported to Excel. It is only one specific field that is doing this and I hope there is something in the report or field properties that I can simply modify. The field combines two fields in the parent table like so (=[ProbationTerm] & " " & [ProbationYear]) and when the report is run I get the following output for that field


    Spring 2013
    Spring 2013
    Spring 2013
    Spring 2013
    Winter 2013
    Spring 2013
    Winter 2013

    However, when I export to Excel the above field display as

    Spring 2013
    Spring 2013
    Spring 2013
    Spring 2013
    Spring 2013
    Spring 2013
    Spring 2013

    You see the difference. The really odd thing is that if I simply print the report, or export to PDF, the data remains un-compromised. Anyone have any thoughts on what might be running amok?

    In case it helps, the SQL query for the report's record source is below:
    SELECT ProbTracker.SMARTID, ProbTracker.ProbationTerm, ProbTracker.ProbationYear, ProbTracker.TermGPA, ProbTracker.CumGPA, ProbTracker.ProbType, ProbTracker.Notes, ProbTracker.CaseInProg, ProbTracker.CaseStatus, [Last Name] & ', ' & [First Name] AS PartName, PartInfo.Cohort, PartInfo.[Awardee Type], PartInfo.[Sponsoring Service], PartInfo.[STEM Discipline], PartInfo.School, PartInfo.[Degree Grad Date], PartInfo.Degree
    FROM PartInfo INNER JOIN ProbTracker ON PartInfo.[Smart Id] = ProbTracker.SMARTID
    WHERE (((ProbTracker.[CaseInProg])='Yes'));



    Thanks!
    Ryan

  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,931
    Try doing the concatenation in query instead of textbox on report as done with the name fields. Apparently no issue with export of the concatenated name fields.
    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
    Monterey_Manzer is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2012
    Posts
    164
    Thanks June! That seems to have done the trick. I know I originally had them concatenating in the query but for some reason that was causing problems. In retrospect it probably had to do with the fact that I also define the record source a second time in an On Open event (filtering my records).

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. Report export to Excel with format
    By mrswarrick in forum Access
    Replies: 3
    Last Post: 02-29-2012, 03:10 PM
  3. Importing ever-changing Excel data
    By jtf1972 in forum Database Design
    Replies: 7
    Last Post: 08-05-2011, 11:24 AM
  4. Report Export to Excel
    By BLD21 in forum Import/Export Data
    Replies: 1
    Last Post: 05-06-2011, 10:19 AM
  5. Changing data in excel from access
    By ricardo9211 in forum Import/Export Data
    Replies: 1
    Last Post: 08-26-2009, 01:46 AM

Tags for this Thread

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