Get data into Grid
Moderator: Rathinagiri
Get data into Grid
Hi,
have been using Clipper for a very long time, now it is time to progress my apps to new environment. I am trying to display dbf data in grid, but i can't figure out how to connect grid with data, since in HMBG IDE there is no Rowsource (or item) property. Samples are all programmed not made with IDE.
Can anybody help me?
have been using Clipper for a very long time, now it is time to progress my apps to new environment. I am trying to display dbf data in grid, but i can't figure out how to connect grid with data, since in HMBG IDE there is no Rowsource (or item) property. Samples are all programmed not made with IDE.
Can anybody help me?
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Get data into Grid
Hellodrz wrote:Hi,
have been using Clipper for a very long time, now it is time to progress my apps to new environment. I am trying to display dbf data in grid, but i can't figure out how to connect grid with data, since in HMBG IDE there is no Rowsource (or item) property. Samples are all programmed not made with IDE.
Can anybody help me?
Welcome aboard
Salutes from Turkiye
I always respect seasoned xBase programmers (like myself)
HMG IDE has "Rowsource" property entry ( see attached picture : GrDemo251 Form Design.jpg )
Here slightly modified version of GRID\DEMO_25 to denote defining GRID into a .fmg file.
( Menu extracted for simplify )
I hope this work responds your questions. If any problem please don't hesitate to ask, you are between friends here.
Happy HMG'ing
Viva INTERNATIONAL HMG
- Agil Abdullah
- Posts: 204
- Joined: Mon Aug 25, 2014 11:57 am
- Location: Jakarta, Indonesia
- Contact:
Re: Get data into Grid
Hi Esgici,
I can't find this folder and file in my laptop after installing Hmg.3.3.1----> ...grid_25\Grid_251, and file Grdemo251.hbp.
Tell how to make them exist?
"Terimakasih",
I can't find this folder and file in my laptop after installing Hmg.3.3.1----> ...grid_25\Grid_251, and file Grdemo251.hbp.
Tell how to make them exist?
"Terimakasih",
Agil Abdullah Albatati (just call me Agil)
Programmer Never Surrender
Programmer Never Surrender
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Get data into Grid
C:\hmg.3.3.1\SAMPLES\Controls\Grid\GRID_25
This would be the actual path. Esgici has given the modified sample in his post. Please download and unzip the same.
This would be the actual path. Esgici has given the modified sample in his post. Please download and unzip the same.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Agil Abdullah
- Posts: 204
- Joined: Mon Aug 25, 2014 11:57 am
- Location: Jakarta, Indonesia
- Contact:
Re: Get data into Grid
Yes I did the download and unzip it. I found it oke. But, that's NOT what I am talking about.Rathinagiri said:
C:\hmg.3.3.1\SAMPLES\Controls\Grid\GRID_25
This would be the actual path. Esgici has given the modified sample in his post. Please download and unzip the same.
I am asking why I can't find this in my laptop--->...\grid_25\grid_251\Grdemo251.hbp?
I need that to try the demo as shown by Esgici (the second screenshot).
Thanks for your help.
Agil Abdullah Albatati (just call me Agil)
Programmer Never Surrender
Programmer Never Surrender
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Get data into Grid
Because it is an extra sample modified and made by Esgici.
you can compile the demo given by Esgici.
you can compile the demo given by Esgici.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Agil Abdullah
- Posts: 204
- Joined: Mon Aug 25, 2014 11:57 am
- Location: Jakarta, Indonesia
- Contact:
Re: Get data into Grid
Oooh I see.
I thought it originated from a package inside HMG installation.
Thanks Mr.Rathinagiri
I thought it originated from a package inside HMG installation.
Thanks Mr.Rathinagiri
Agil Abdullah Albatati (just call me Agil)
Programmer Never Surrender
Programmer Never Surrender
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Get data into Grid
Hi,Agil Abdullah wrote:Oooh I see.
I thought it originated from a package inside HMG installation.
Thanks Mr.Rathinagiri
Sorry, I have missed this sweet chat
( night owl, sleeps until noon )
Thanks Agil to interest and thanks Mr. Rathinagiri to support
A last note to Agil :
You don't need preserve exact path in the sample; you can open the .zip anywhere and use ( build, run etc ) the sample any way you like
Happy HMG'ing
Viva INTERNATIONAL HMG
- Agil Abdullah
- Posts: 204
- Joined: Mon Aug 25, 2014 11:57 am
- Location: Jakarta, Indonesia
- Contact:
Re: Get data into Grid
To Mr. Rathinagiri & Mr.Esgici,
Now I understand that HMG-ID screenshot coming out when running IDE.EXE, residing within sub-dir hmg\ide.
It's funny you know... I was not aware the existance of the application.
Thanks for your help.
Now I understand that HMG-ID screenshot coming out when running IDE.EXE, residing within sub-dir hmg\ide.
It's funny you know... I was not aware the existance of the application.
Thanks for your help.
Agil Abdullah Albatati (just call me Agil)
Programmer Never Surrender
Programmer Never Surrender
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Get data into Grid
Learning something continuously, even never ending; exciting me always; especially about HMGAgil Abdullah wrote:To Mr. Rathinagiri & Mr.Esgici,
Now I understand that HMG-ID screenshot coming out when running IDE.EXE, residing within sub-dir hmg\ide.
It's funny you know... I was not aware the existance of the application.
Thanks for your help.
So, a question to you Agil: what are three different version info ( marked by red rectangular ) in attached picture ( captured from above screenshot ) ?
Happy HMG'ing
Viva INTERNATIONAL HMG