Hi
I'm new here.
I have been using HMG for a short time.
I have a problem with the 'tree' control.
I would like to be able to save data about the tree modified in the program in the DBF database.
Unfortunately I don't know how to do it.
I was hoping that the ParentValue propertie would help me. Unfortunately, it doesn't work properly in version 3.4.4 (32 bit) or 3.6 (64 bit).
To sum up, I want:
- build a tree based on data saved in the dbf database
- save the tree modified in the program to the database
I'm asking you for help.
regards
Krzysztof
How to save the tree modified in the program in the DBF database ?
Moderator: Rathinagiri
Re: How to save the tree modified in the program in the DBF database ?
Hi! Try to search on the forum. This problem was presented few years ago
- miszler.zoltan
- Posts: 24
- Joined: Sun May 26, 2013 12:37 pm
- Location: Hungary
- Contact:
Re: How to save the tree modified in the program in the DBF database ?
Szia, csak néhány kulcsszó: base64, json.
Hi, just a few keywords: base64, json.
Hi, just a few keywords: base64, json.
- serge_girard
- Posts: 3258
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: How to save the tree modified in the program in the DBF database ?
Krzysztof,
Welcome!
As Marek and Mizler said the forum is full of examples and solutions!
Serge
Welcome!
As Marek and Mizler said the forum is full of examples and solutions!
Serge
There's nothing you can do that can't be done...
Re: How to save the tree modified in the program in the DBF database ?
Hi Krzysztof!
To save kategories, I have a dbf with such a fields:
IdKategorii N 6
RodzajKategorii N 1 // określa wydatek/wpływ
IdKategoriiNadrzednej N 6
NazwaKategorii C
Nieaktywny L // used or deleted (hidden for user)
In such a structure you can save your tree
To save kategories, I have a dbf with such a fields:
IdKategorii N 6
RodzajKategorii N 1 // określa wydatek/wpływ
IdKategoriiNadrzednej N 6
NazwaKategorii C
Nieaktywny L // used or deleted (hidden for user)
In such a structure you can save your tree
Re: How to save the tree modified in the program in the DBF database ?
Sorry, guys
I think you misunderstood me.
I have a problem with the 'tree' control.
I would like to use this control to build a tree.
I would then like to save the data from this control to the DBF database so that I can recreate the tree.
I can't find the data defining the parent of the element in this "Tree" control.
Property 'Parent' in "Tree" control doesnt return this data.
I think you misunderstood me.
I have a problem with the 'tree' control.
I would like to use this control to build a tree.
I would then like to save the data from this control to the DBF database so that I can recreate the tree.
I can't find the data defining the parent of the element in this "Tree" control.
Property 'Parent' in "Tree" control doesnt return this data.
Re: How to save the tree modified in the program in the DBF database ?
Krzysztof, spójrz na ten post: https://www.hmgforum.com/viewtopic.php?p=65890#p65890, może będzie pomocny. Co prawda struktura drzewa jest zapisywana w json, ale nic nie stoi na przeszkodzie aby zapisać ją w DBF. Spróbuj to zrobić w ramach ćwiczeń z HMG.
Re: How to save the tree modified in the program in the DBF database ?
Hurry !!!
Thanks edk
Thanks edk
