Generate a form based on fields in a DBF file

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
Amarante
Posts: 182
Joined: Fri Apr 27, 2012 9:44 pm
DBs Used: DBF, MySQL, MariaDB, SQLite, PostgreSQL
Location: Araruama-RJ, Brazil

Generate a form based on fields in a DBF file

Post 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.
User avatar
Czarny_Pijar
Posts: 172
Joined: Thu Mar 18, 2010 11:31 pm
Location: 19.2341 E 50.2267 N

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

Post 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.
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

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

Post 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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

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

Post 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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

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

Post 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
Viva INTERNATIONAL HMG :D
User avatar
Steed
Posts: 439
Joined: Sat Dec 12, 2009 3:40 pm

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

Post by Steed »

Si..
User avatar
IMATECH
Posts: 188
Joined: Sun May 27, 2012 9:33 pm
Location: Brazil: Goiânia-GO.

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

Post by IMATECH »

Hi Czarny !

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


Regards
M., Ronaldo

By: IMATECH

Imation Tecnologia
User avatar
Czarny_Pijar
Posts: 172
Joined: Thu Mar 18, 2010 11:31 pm
Location: 19.2341 E 50.2267 N

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

Post 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 :?
Attachments
dbf_2_form.zip
(3.75 KiB) Downloaded 349 times
dbf2frm_ver1.PNG
dbf2frm_ver1.PNG (14.3 KiB) Viewed 5123 times
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

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

Post 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 5112 times
Czarny_Pijar wrote:... Feel free to use/modify/( do not criticize ;) ).
There is permission to write new one :?:

Regards
Viva INTERNATIONAL HMG :D
Post Reply