This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi all, first of all I'm still using LightSpeed version 2.0, because the company I work for is still using Visual Studio 2005. Then my problem: we have 3 tables for grouping accounts:
The linkage is: Schemas could have 1 to many Groups; Groups could have 0 to many Accounts linked, but the same Account could appear in more than 1 Group (many to many); more, for the Schemas, a schema could hold 0 to n sub-schemas, a sub-schema could hold 0 to many sub-sub-schemas, and so on. The internal relationship between parent and child schemas is performed using a parentID that must corresponds to a schemaID. My problem is: when I load the entire tree, the majior class (Schemas) returns all the related groups, but doesn't return the related sub_schemas (child schemas)... Everithing in the Schema class for LightSpeed seems to be properly defined, but, at the end of loading, it returns the related Groups, but the Schema children are empty; therefore, the sub-schema returns perfectly who is the ancestor. Could you, please, help me in understanding where I did something wrong? And which is the best solution? Please consider that I should need to expose in the UI all the information in a treeview. Thanks in advance for your help, Francesco |
|