[Valentina General] using a method to track a recursive path
    Gunnar Swan 
    gunnarswan at PracticeToPass.com
       
    Fri Sep 10 15:42:22 CDT 2004
    
    
  
Recursively call the same method or object. In the new instance, walk through everything at that level.
We do this on our software Table of Contents.
This allows the Table Of Contents to change, but not have to change any code.
We do this as a parent script.
g
9/10/04 3:00:05 PM, Daniel Crowder <daniel at monumental-i.com> wrote:
>Still having a blast working on my first project. One question: I 
>currently have an infinitely recursive category table that I use to 
>classify products. Basically it is just a table that has 
>object_pointers to other fields in the same table. Basic relational 
>stuff. I currently have the program 'climb' up to the parent from the 
>child in the application - but I am wondering if I could use a method 
>to do this for me? (return an array/properylist). I'm not sure how to 
>approach this but something like:
>
>MYMETHOD =parent's MYMETHOD+','+myRECID
>
>
>Any suggestions really appreciated!
>
>- Daniel
>
>_______________________________________________
>Valentina mailing list
>Valentina at lists.macserve.net
>http://lists.macserve.net/mailman/listinfo/valentina
>
>
Best Regards,
Gunnar Swan
Practice To Pass
1.888.307.2050
http://www.PracticeToPass.Com
    
    
More information about the Valentina
mailing list