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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Record Selection based on highest number

Status
Not open for further replies.

Boman

MIS
Jun 19, 2002
4
US
I have multiple records in a group. Each record has a unique sequence no. I need to pass the highest sequence no. using a shared var to my main rpt to perform a calc on the main rpt.
i.e.
invno seqno price date time
7601 1 $150 06/17/02 12:00
7601 2 $500 06/17/02 12:05
7601 3 $600 06/17/02 12:05
etc etc etc etc etc

I need the record with the highest seqno.


 
You should be able to just use a maximum(seqno) to define the shared variable.

It sounds like you understand the shared variables portion so I'll forego describing that unless you state otherwise.

-k kai@informeddatadecisions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top