I have a good problem to solve.
My db (oracle) has a table of equipments(eq) in it. In that table i have two specific fields called 'eq_id' and 'subcomponent_of'. The 'eq_id' field is the primary key of the table, where lays the equipments codes, and in the 'subcomponent_of' field is where i put the code for that subcomponent (meaning that this is still a equipment code). So, i can see the equipments and there subcomponents, it's a relation father to son. There for i have a hierarchical tree of equipments and their subcomponents.
My problem is that, how can i pass that relation to Crystal Reports. Internally, the sql of Crystal needs to make a loop to run all the records, giving me all the levels the tree has.
Also, I want to restrict it to only one code. What I want, is to be able to introduce an equipment code and then Crystal Report will show me the family tree, it's subcomponents for that equipment, only that equipment, not all the equipments relations.
My version of Crystal Report is 8.5
So if anyone can help me with this issue i'll be very grateful.