Quick Browse Form

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

Moderator: Rathinagiri

User avatar
dragancesu
Posts: 413
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia
Has thanked: 2 times
Been thanked: 31 times

Quick Browse Form

Post by dragancesu » Wed Jan 14, 2015 1:59 pm

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 138 times

User avatar
Pablo César
Posts: 4053
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 175 times

Post by Pablo César » Wed Jan 14, 2015 2:31 pm

Nice work and quick, Dragan !

Thanks for sharing ! :D

Codes generated.:
Screen1.png
Screen1.png (20.38 KiB) Viewed 1225 times
Screen2.png
Screen2.png (34.02 KiB) Viewed 1221 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: 429
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Has thanked: 90 times
Been thanked: 10 times
Contact:

Post by quartz565 » Wed Jan 14, 2015 2:56 pm

Thank you Dragan Very nice !
Best Regards,
Nikos.

os: Windows Server 2012 - 64
hw: HP Server E5606, 2.13GHz, 8.00 GB - Intel Xeon CPU

User avatar
bpd2000
Posts: 927
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 91 times
Been thanked: 29 times

Post by bpd2000 » Wed Jan 14, 2015 3:50 pm

Nice
+1
BPD
HMG Convert Dream into Reality

User avatar
Steed
Posts: 279
Joined: Sat Dec 12, 2009 3:40 pm
Been thanked: 1 time

Post by Steed » Wed Jan 14, 2015 3:54 pm

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: 583
Joined: Fri Mar 20, 2009 11:38 am
Location: Alicante - Spain
Been thanked: 42 times

Post by mustafa » Thu Jan 15, 2015 11:58 am

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 93 times

User avatar
serge_girard
Posts: 1749
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 227 times
Been thanked: 45 times
Contact:

Post by serge_girard » Thu Jan 15, 2015 12:12 pm

Good job, Dragan!

Serge

User avatar
luisvasquezcl
Posts: 1002
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 5 times
Been thanked: 11 times
Contact:

Post by luisvasquezcl » Thu Jan 15, 2015 6:08 pm

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: 927
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 91 times
Been thanked: 29 times

Post by bpd2000 » Fri Jan 16, 2015 12:59 pm

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 1066 times
BPD
HMG Convert Dream into Reality

User avatar
Steed
Posts: 279
Joined: Sat Dec 12, 2009 3:40 pm
Been thanked: 1 time

Post by Steed » Fri Jan 16, 2015 4:43 pm

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

Who is online

Users browsing this forum: No registered users and 3 guests