Has anyone tried creating a Tree Control against a Mapped Table? I've been fighting this part time for about 4 days now.
I have a Mapped Table which includes 3 fields from 1 file and 1 field from another file.
I don't get any error messages, it is simply that the Tree Control won't expand. I have narrowed it down to the 1 field outside of the primary file in the Mapped Table. To verify the problem with the Mapped Table, I modified my primary file (Schedule_raw) to include the field (full_name_short) from the secondary file (Staff) and filled the field with an operation. Using the newly modified file, the Tree Control expands as expected.
Unfortunately, the only example of dynamically loading a tree (in the learning xdialog base) only expands as the branch is selected. I've worked with it enough to fry my brain.
Judging from other threads, I'm sure the question will be asked "Why are you using a Tree Control?"
For this particular file, it takes 3 fields to uniquely identify a record: Week_Ending, Employee_ID (or name) and Position. I suppose I could use 3 drop down lists to accomplish the same thing but the Tree Control seems more efficient from a user viewpoint. My intent is to return the 3 variables to query the file for schedule changes. If anyone knows of a better mouse trap, I am open to suggestion(s).
If needed, I can supply a zipped database but it should be easy to recreate from any application.
I will send a bug report if it can be verified by someone else.
Jerry Gray
I have a Mapped Table which includes 3 fields from 1 file and 1 field from another file.
I don't get any error messages, it is simply that the Tree Control won't expand. I have narrowed it down to the 1 field outside of the primary file in the Mapped Table. To verify the problem with the Mapped Table, I modified my primary file (Schedule_raw) to include the field (full_name_short) from the secondary file (Staff) and filled the field with an operation. Using the newly modified file, the Tree Control expands as expected.
Unfortunately, the only example of dynamically loading a tree (in the learning xdialog base) only expands as the branch is selected. I've worked with it enough to fry my brain.
Judging from other threads, I'm sure the question will be asked "Why are you using a Tree Control?"
For this particular file, it takes 3 fields to uniquely identify a record: Week_Ending, Employee_ID (or name) and Position. I suppose I could use 3 drop down lists to accomplish the same thing but the Tree Control seems more efficient from a user viewpoint. My intent is to return the 3 variables to query the file for schedule changes. If anyone knows of a better mouse trap, I am open to suggestion(s).
If needed, I can supply a zipped database but it should be easy to recreate from any application.
I will send a bug report if it can be verified by someone else.
Jerry Gray
Comment