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

paging one-to-many data?

Status
Not open for further replies.

mitsiguri

Programmer
Nov 3, 2001
12
GB
Hi All,

i understand normal paging using using a stored procedure, but how would i page a resultset that has a row with multiple sub rows (like one-to-many relationship i guess)

for example. say i return 5 recs per page:

id name subid name
1 a 1 w
2 b 2 x
3 c 3 y
4 c 3 y
5 d 4 z


if i was displaying this(in asp), then only 4 recs would show, as rows 3 & 4 would show as one.

any ideas how to do this????

cheers
mitSiguRi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top