Page 2 of 2

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

Posted: Thu Jan 17, 2013 4:58 pm
by Rathinagiri
Thanks a lot for sharing. It is very simple and more powerful.

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

Posted: Thu Jan 17, 2013 5:17 pm
by mol
cExeFolder := s_u_b_s_t_r(exename(), 1 , rat("\",exename()) - 1 ) + "\"
CreateFolder (cExeFolder + cNewFolder)

Did you tried GetFile function?

ps. please remove underscores from s_u_b_s_t_r

Many thanks for your work, Marek

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

Posted: Thu Jan 17, 2013 6:08 pm
by Czarny_Pijar
Many thanks, Marek(==mol), this is a kind of helping hand I am always expecting for. Soon this code allows me to add the options locked at this time. :)


esgici, as you can see, between the declaration and first release was only a several hours, so my code is quick and dirty. The main adwantage is, this simply works, and I'm not going to polish it to a high gloss.
Under these conditions, any criticism will meet the answer: you better improve it yourself (sources included). Hence the new terms and conditions of using my program :lol:


rathinagiri, I'm waiting patiently for the link to the promised program (DBU for HMG).

Many thanks to all for the words of encouragement.

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

Posted: Thu Jan 17, 2013 8:36 pm
by esgici
Hi Czarny
Czarny_Pijar wrote:... (sources included)...
Thanks ...

BTW, "source included" DBA has this feature (except saving as .fmg) for several years :mrgreen:

Viva clean coding :D

DBU - Generate a form based on fields in a DBF file

Posted: Fri Jan 18, 2013 12:21 pm
by Rathinagiri
Czarny_Pijar wrote: rathinagiri, I'm waiting patiently for the link to the promised program (DBU for HMG).
Sorry, I forgot. :(

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

Posted: Fri Jan 18, 2013 1:21 pm
by esgici
Thanks Rathi :)

Regards

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

Posted: Fri Jan 18, 2013 3:47 pm
by Amarante
[English (poor)]
Thank Czarny_Pijar and rathinagiri, I'll check their invaluable contributions.
:P :shock:
[Português]
Obrigado a Czarny_Pijar e rathinagiri, vou checar suas inestimáveis colaborações.

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

Posted: Sun Jan 20, 2013 5:49 pm
by klauskugel
Thanks Rathi,
your dbu works fine under wine1.5 .

:D
klauskugel/Germany