Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report based on a query

Status
Not open for further replies.

lauritz

Programmer
Aug 20, 2002
27
AU
Hi,

I need some urgent help. I am new to the Access VBA and have a problem that is causing me lots of grief.

I have a table which contains component data about an engine. Each component has "time remaining" and a "cycle ramaining" field. I need to scan through this table and for each engine display the component with the lowest "time remaining" and lowest "cycle remaining" (most likely the same component). I just cannot for the life of me work out how to do it in the VBA.

All help is greatly appreciated.

TIA
 
Hi Have you thought about using a Query?

In the query designed see Group by (the E symbol in tool bars), and see Min function

Regards

Ken Reay
 
Hi Ken,

Yes I have thought about using a query but am not sure how to do what I need to using one. Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top