Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Groups and sub-groupe with SFR
Message
From
21/03/2005 10:22:40
 
 
To
18/03/2005 10:32:35
General information
Forum:
Visual FoxPro
Category:
Stonefield
Environment versions
Visual FoxPro:
VFP 7 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00997069
Message ID:
00997830
Views:
12
>Hi Denis.
>
>>I'd like to have something similar to
>>
>>Lists
>>Reports
>>   Money
>>      Total
>>         Totals 1
>>         Totals 2
>>         Totals 3
>>      Average
>>         Average 1
>>         Average 2
>>         Average 3
>>
>>
>>But the above won't work because there are no reports in the Money category. I get an error message about the TreeView construction. "LOPARENT is not an object".
>
>You should be able to do this by putting backslashes in the REP_GROUP field of REPORTS.DBF, such as Report\Money\Totals. That said, it's been a long time since I looked at that code, so you might need to trace the LoadTree method and see what's going on.

Tracing reveals that the problem is with the addition of nodes in the TreeView.

I modified the first path for my first report for debugging purposes. I added "\Test\Test2" in it.

In sfrWizard, When AddGroup code is executed everything seems to work well in the addition of nodes. I don't receive an error message for the addition of the "Test" group.

But when it gets to the addition of the "Test2" group then I receive the error that I mentioned in my original post. loGroup is not initialized properly. So if I understand this error correctly it tells me that no node for "Test" was not created but what I don't get is why I did'nt get an error message for the creation of that "Test" group.

And with this result I'm not sure what I can do to look at the content of the groups within the TreeView. What are the properties and how I get through that treeview in the debugger to see what's in it?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform