Page 1 of 2

Generate a form based on fields in a DBF file

Posted: Wed Jan 09, 2013 4:39 pm
by Amarante
[English]
Long ago I had a program that generated a form based on fields in a DBF file.
I no longer have that program.
Somebody knows something or knows how to do this in the IDE?
Ideally something like drag and drop the field on the form.

[Português]
Há muito tempo eu tinha um programa que gerava um formulário baseado nos campos de um arquivo DBF.
Não tenho mais esse programa.
Alguém conhece algo parecido ou sabe como fazer isso na IDE?
O ideal seria algo como arrastar o campo e soltar no formulário.

Re: Generate a form based on fields in a DBF file

Posted: Thu Jan 17, 2013 3:01 am
by Czarny_Pijar
I'm about to write this piece of code from the scratch, (specifically for HMG and with HMG), but I need a few words of encouragement.

I think, 5 yes ( or 'si', 'oui', 'da','ja', 'tak' or so) from 5 persons here will be enough.

Re: Generate a form based on fields in a DBF file

Posted: Thu Jan 17, 2013 3:08 am
by Rathinagiri
I have created long ago DBU for HMG which has this feature. It can be done both in Edit mode or Browse mode. I will give the link here.

Re: Generate a form based on fields in a DBF file

Posted: Thu Jan 17, 2013 3:09 am
by Rathinagiri
Czarny_Pijar wrote:I'm about to write this piece of code from the scratch, (specifically for HMG and with HMG), but I need a few words of encouragement.

I think, 5 yes ( or 'si', 'oui', 'da','ja', 'tak' or so) from 5 persons here will be enough.
YES. YES. YES. YES. YES. :)

I want to see your code man.

Re: Generate a form based on fields in a DBF file

Posted: Thu Jan 17, 2013 8:30 am
by mol
yes!
powodzenia!

Re: Generate a form based on fields in a DBF file

Posted: Thu Jan 17, 2013 11:00 am
by esgici
Hi Czarny
Czarny_Pijar wrote:... I need a few words of encouragement...
What happiness hearing you after a long time :)

In my country we have a quote :

Much affection makes lower pall !

Personally, I like and wonder everything about HMG, so

PLEASE :!:

Regards

Re: Generate a form based on fields in a DBF file

Posted: Thu Jan 17, 2013 1:04 pm
by Steed
Si..

Re: Generate a form based on fields in a DBF file

Posted: Thu Jan 17, 2013 1:15 pm
by IMATECH
Hi Czarny !

Go ahead... and if you need some help: we are here ;)


Regards

Re: Generate a form based on fields in a DBF file

Posted: Thu Jan 17, 2013 3:06 pm
by Czarny_Pijar
So be it: here's the first draft. Feel free to use/modify/( do not criticize ;) ).

There are some annoying properties:
1) DBF file must be in the program folder;
2) Form file created by the program also in this subfolder.

I'd like to change this, but...
How to pick any DBF file?
How to execute 'run md mysubfolder' on WinXP?

Believe or not, this is my first time I had to do with :?

Re: Generate a form based on fields in a DBF file

Posted: Thu Jan 17, 2013 4:34 pm
by esgici
Hi Czarny

Thanks to share :arrow:

I hope that you didn't want or expect something like this :
saudação
saudação
saudação.gif (14.01 KiB) Viewed 5118 times
Czarny_Pijar wrote:... Feel free to use/modify/( do not criticize ;) ).
There is permission to write new one :?:

Regards