Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Printing Related Records
David Tarimo 
  
4 years ago
Hi, I have created two tables; one with the names of people owning farms and the other has the list of crops on the farms (intercropped). I have also created the relationship linking the two tables and then a query combinining the unique number given to each farm and the tree types found on each farm.

I want to create a report that prints each intercropping as it were one record (see image 2), however, the crops are in different records in my query (see image 1).

NOTE: One farm can have more than one intercrpping set i.e for example an owner has 10 acres there are cases where 3 acres are planted maize and sorgum, 5 acres are planted maize and sunflower and 2 acres are planted with cassava and groundnuts.


I need the report to appear as under

Intercropping                             Area (acres)

Maize (60%), Sorgum (40%)                 3

Maize (30%), Sunflower (25%)              5

Cassava (75%), Groundnuts (80%)           2

David Tarimo OP  @Reply  
  
4 years ago

David Tarimo OP  @Reply  
  
4 years ago

David Tarimo OP  @Reply  
  
4 years ago
Image refered as image 2 in the description is actually the one on top and the image 1 is the second at the bottom
Kevin Robertson  @Reply  
          
4 years ago
Kevin Yip  @Reply  
     
4 years ago
Hi David, I posted a comment on a similar task recently.  Basically, you need to use an aggregate query, with a custom function created in VBA.  Please see pics below as an example.  I have different lots of fruits received per day, and I want to get totals of fruits per day and still present the lot info that is otherwise unpresentable because they are on different rows.  Hopefully other posters could point you to the right courses to take for the required skills.  Take a look at my solution and get a glimpse of what is involved.  If you have the right skills, this is not a terribly difficult task:
Kevin Yip  @Reply  
     
4 years ago

Ramona Woitas  @Reply  
      
4 years ago
That's awesome Kevin.  Thanks for sharing.  I love seeing what other people do with their databases.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/6/2026 10:09:51 AM. PLT: 1s