Results 1 to 4 of 4
  1. #1
    Niko is offline Advanced Beginner
    Windows 7 64bit Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    47

    Cool How to display only one remark in Access report


    Hi guys, I would like to display only one remark for all the details that are group under the same PO number in my access report. How can i do that?

    What I am doing now is that despite grouping my remark in the query i will still have to key in the same remark for the other details that are group under the same PO number which is very tedious and time consuming. I discover that if i do not key in the remarks for the other details, when i search for the PO number to generate the report it will not show any remarks in my report.

    Thankyou!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    make a query to pull only 1 remark,(the most recent?) :

    qs1Remark = select TOP 1 ID,REMARK from table

    then join this to the main data query to get the 1 remark :

    select tData.fld1,tData.fld2, qs1Remark.REMARK from tData,qs1Remark where tData.ID = qs1Remark.ID

  3. #3
    Niko is offline Advanced Beginner
    Windows 7 64bit Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    47
    Quote Originally Posted by ranman256 View Post
    make a query to pull only 1 remark,(the most recent?) :

    qs1Remark = select TOP 1 ID,REMARK from table

    then join this to the main data query to get the 1 remark :

    select tData.fld1,tData.fld2, qs1Remark.REMARK from tData,qs1Remark where tData.ID = qs1Remark.ID
    Hi! [qs1Remark = select TOP 1 ID,REMARK from table]I am able to do this, but not the join part.
    I attached an image of my current query and i also sort of join the remark table to my main table
    Attached Thumbnails Attached Thumbnails query.jpg  

  4. #4
    Niko is offline Advanced Beginner
    Windows 7 64bit Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    47
    Quote Originally Posted by Niko View Post
    Hi! [qs1Remark = select TOP 1 ID,REMARK from table]I am able to do this, but not the join part.
    I attached an image of my current query and i also sort of join the remark table to my main table
    Now that i am able to retrieve the remarks onto my report, but it cut off part of my report despite setting "CAN GROW & CAN SHRINK" to "YES" in the property sheet.
    Click image for larger version. 

Name:	Remarks on database.png 
Views:	7 
Size:	12.0 KB 
ID:	30707Click image for larger version. 

Name:	Remarks on report.png 
Views:	7 
Size:	5.4 KB 
ID:	30708

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

Similar Threads

  1. Replies: 1
    Last Post: 10-09-2015, 09:29 AM
  2. Replies: 6
    Last Post: 02-06-2013, 06:10 PM
  3. Replies: 6
    Last Post: 10-30-2012, 11:36 AM
  4. Replies: 7
    Last Post: 10-18-2012, 12:49 PM
  5. Replies: 5
    Last Post: 03-25-2012, 12:31 PM

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