Quick Browse Form

Utilities like DBU, Make, IDE written in HMG/ used to create HMG based applications

Moderator: Rathinagiri

Post Reply
User avatar
dragancesu
Posts: 920
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Quick Browse Form

Post by dragancesu »

Today I did something that I needed, a simple generator forms with BROWSE control

Choose dbf and you will create a program, just compile

Simple, without images
Attachments
quick.zip
(3.37 KiB) Downloaded 554 times
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Quick Browse Form

Post by Pablo César »

Nice work and quick, Dragan !

Thanks for sharing ! :D

Codes generated.:
Screen1.png
Screen1.png (20.38 KiB) Viewed 8998 times
Screen2.png
Screen2.png (34.02 KiB) Viewed 8994 times
It's something like Extended Edit.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
quartz565
Posts: 667
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Contact:

Re: Quick Browse Form

Post by quartz565 »

Thank you Dragan Very nice !
Best Regards,
Nikos.

os: Windows Server 2019 - 64
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Quick Browse Form

Post by bpd2000 »

Nice
+1
BPD
Convert Dream into Reality through HMG
User avatar
Steed
Posts: 427
Joined: Sat Dec 12, 2009 3:40 pm

Re: Quick Browse Form

Post by Steed »

Thank, Dragan, but a small observatión when in a table there area other field types than "C","N","D", like ( Memo, Logical) the generator use the same type that the last field,

to be more clear:

Table_1: Name (C), Pos(N"),Date_("D"),Comen("Memo")

the quick generator makes:
Name "C"
Pos "N"
Date "D"
Comen "D"

Plese try whith this table \hmg\SAMPLES\Applications\CONTACTOS\CONTACTOS.dbf

Regards, Ed
User avatar
mustafa
Posts: 1158
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: Quick Browse Form

Post by mustafa »

Hello dragancesu
Very interesting application
I modified your code slightly from the COMBOBOX
and two different files are generated from a Option 1
or option 2
a greeting
Mustafa
*------------------------------------------*
Hola dragancesu
Muy interesante aplicación
He modificado un poco tu código desde el COMBOBOX
y se generan dos ficheros distintos desde una opción 1
o la opción 2
Un saludo
Mustafa
Attachments
quickgenX.zip
(7.21 KiB) Downloaded 451 times
User avatar
serge_girard
Posts: 3158
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Quick Browse Form

Post by serge_girard »

Good job, Dragan!

Serge
There's nothing you can do that can't be done...
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: Quick Browse Form

Post by luisvasquezcl »

Dragancesu
Thanks for sharing your application seems very good idea your program.
Best regards

Dragancesu
gracias por compartir tu aplicación, me parece muy buena idea tu programa.
Saludos cordiales,
Luis Vasquez
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Quick Browse Form

Post by bpd2000 »

Hi Dragan
Code generated using C:\hmg.3.4.0\SAMPLES\Controls\Grid\GRID_25\TEST.DBF file
following error
Attachments
quick_err.png
quick_err.png (10.76 KiB) Viewed 8839 times
BPD
Convert Dream into Reality through HMG
User avatar
Steed
Posts: 427
Joined: Sat Dec 12, 2009 3:40 pm

Re: Quick Browse Form

Post by Steed »

This error is caused by that I report in previus post, here, because the generartor takes in account only 3 types of fields ("D","N","C",) and when the field have other kind of data like Memo or logical, the generator use last type that have the previus field
bpd2000 wrote:Hi Dragan
Code generated using C:\hmg.3.4.0\SAMPLES\Controls\Grid\GRID_25\TEST.DBF file
following error
Steed wrote:Thank, Dragan, but a small observatión when in a table there area other field types than "C","N","D", like ( Memo, Logical) the generator use the same type that the last field,

to be more clear:

Table_1: Name (C), Pos(N"),Date_("D"),Comen("Memo")

the quick generator makes:
Name "C"
Pos "N"
Date "D"
Comen "D"

Plese try whith this table \hmg\SAMPLES\Applications\CONTACTOS\CONTACTOS.dbf

Regards, Ed
Post Reply