Hi Edward ---
Maybe you could...hmmm...If you store the indent level to the table (or functional equivalent) and put a field on the detail band report which is REPLICATE("-",indent*10)+fieldvalue or the equivalent?
Think about it :)
>These recoeds come from a formated table. All I want to do is to print "LINE" between these records, just like TreeView, because these datas have hierarchical releationship. So, create a temp table seems can not solve problem.
>
>>Where do these records come from? It might make more sense to create a temp table the entries if they don't already come from a table and use the report writer.
>>
>>>Hi!
>>>How to PRINT a "TreeView" which contains hundreds of records?
>>>Thanks!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05