pitfloner
26th June 2003, 11:56
Hi,

Is there a function that returns a list of father items under a
son item?

Example

a
/ \
b d
/ \ / \
f g f h
| | | |
z w z z

If I ask for father item of "z" article, this function will return:

f,h,b,d,a

kbartelds
26th June 2003, 12:00
Hi,

Print where used: tibom1412m000/tibom1413m000/tibom1415m000.

Regards,
Klaas

chjagge
30th June 2003, 03:17
Since Baan does not support recursion (true solution to these types of problems) I've done the the same by implementing a stack. You will have to program it yourself ( the push, pop and stack level functions). Recursion uses stacks, so you can implement you own form of recursion. Or as mentioned above, look at any of the "where used" print functions.