Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2006
    Posts
    2

    Question on a report

    I have created a query that contains a data field and various data points. What I would like to do is to only show the records where the value changes in one of the data points. for instance I have a date and then a value of 700 this may be true for the next five dates until the value changes to 800. What I would like to show up in my query is only the date where the value changed and the changed value. I have tried to do this without successs. I know it will take an expression - but I need some suggestions on how to build it!



    Thanks

  2. #2
    Join Date
    Dec 2005
    Location
    Wilmington, DE - USA
    Posts
    275
    Please post the SQL for your query as it is now.

  3. #3
    Join Date
    Oct 2006
    Posts
    2

    SQL for report

    Here is the SQL for the report as it stands:


    SELECT DISTINCTROW [Programmer columns].subjectid, [Programmer columns].therapy_date, [Programmer columns].amplitude, [Programmer columns].ontime, [Programmer columns].offtime, [Programmer columns].frequency, [Programmer columns].schedule_duration
    FROM [Programmer columns]
    GROUP BY [Programmer columns].subjectid, [Programmer columns].therapy_date, [Programmer columns].amplitude, [Programmer columns].ontime, [Programmer columns].offtime, [Programmer columns].frequency, [Programmer columns].schedule_duration
    HAVING ((([Programmer columns].subjectid)="101-001"));

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

Similar Threads

  1. Replies: 0
    Last Post: 10-24-2008, 11:20 AM
  2. Another email report question ...
    By valkyry in forum Reports
    Replies: 0
    Last Post: 05-23-2007, 11:42 PM
  3. report prints blank page at end of report
    By darrellx in forum Forms
    Replies: 0
    Last Post: 03-14-2006, 08:51 PM
  4. Probably a simple report question
    By gmurrie in forum Reports
    Replies: 1
    Last Post: 12-28-2005, 09:19 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