GridAdo

You can share your experience with HMG. Share with some screenshots/project details so that others will also be benefited.

Moderator: Rathinagiri

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

Re: GridAdo

Post by luisvasquezcl » Tue Aug 26, 2008 3:04 am

Hi esgici
Thank you for your words.
It is rare that did not include those files as deliver the same folder where I'm working.
Regarding the example to order file demo4.prg has that power, even if you pictures if you click on the header 1 column may order.
Tomorrow upload new files and I will ensure that all goes well.
Again, thank you for your comments.
Best regards,

Gracias por tus palabras.
Es raro que no haya incluido esos archivos ya que entrego la misma carpeta en la que estoy trabajando.
Respecto al ejemplo para ordenar el archivo demo4.prg tiene esa facultad, aunque no tenga las imagenes si haces click sobre la cabecera de 1 columna podras ordenarla.
Mañana subiré nuevamente los archivos y me aseguraré que vayan todos correctamente.
Nuevamente agradezco tus comentarios.
Saludos cordiales,
Luis Vasquez

User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Post by l3whmg » Mon Feb 23, 2009 9:30 pm

Hi Luis,
I'm Luigi (the same) from Italy (excuse me for poor English); I'm new in this forum and I don't know if the topic it's good (sorry).
I'm interesting about Your grid because I'm trying to use Harbour+Minigui to access MySql db with adodb via odbc; I've developped a little library (if someone want to lookup I can include in a post), but I'm searching a solution to one problem. To view records of a recordset I'm using grid, but (I think) the problem is: if the recordset contain more records (and column) the program che do "crash"! If I can have more "control" over the grid, I can limit the record upload from the recordset.
Example (I think it's the best):
1 - I have limited to 10 the grid rows (by program) and I have extracted 100 record in a recordset
2 - I want load 10 records at a time and with more controls (not only a slide cursor that I can use to see the 10 rows) I can browse the recordset: load the next record group or the previous and so on.
Q: If exist, where I can find a grid with more control or similar solution?
Q: It's only my problem?

I don't use adordd or other contrib library from Harbour about MySql.
I'm using HMG 2.6.7 standard.
I've developped simple program with .DBF/.NTX with HMG about 3 years

Thanks a lot to You and in a special way to all the HMG developper for the great job (I'm newbe but some time ago I've donated a my little contribution to HMG for windows network printer problem)

Hi at all, Luigi
Luigi from Italy
www.L3W.it

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

Post by luisvasquezcl » Tue Feb 24, 2009 1:09 am

hi Luigi
do not worry about your English, mine is also bad.
I have not used mysql but I think that the library included in HMG should meet all your requirements, check out the samples and told us how you did.
If you need help of course we are all to support you.
You can also write to harbourminigui@yahoogroups.com in crowded generous and solid knowledge to help solve the problems.
A hug from Chile
Luis Vasquez.

User avatar
Rathinagiri
Posts: 5035
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 75 times
Been thanked: 87 times
Contact:

Post by Rathinagiri » Tue Feb 24, 2009 8:59 am

Hi Luigi,

Welcome to HMG Forum.

I am using HMG along with MySQL standard library, and process thousands of records in a few seconds and grid handling is also not a problem for me.

I don't understand why your HMG application crashes because of number or rows or columns.

I think you can try virtual grids also.

Regards,

S. Rathinagiri.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Post by l3whmg » Tue Feb 24, 2009 8:59 am

Hi Luis,
thanks a lot for Your answer in a little time!
Perhaps I don't understand very well Your answer.
Why You say "I don't use MySql" if You have developped a GridAdo? I look at this source and I see "Ado connection", "Ado recordset", etc. Ok We can use this method for access other db than MySql, but (I think) the concept (the way) it's similar and my problem (a lot of memory to browse records) it's the same for other db (Access, Oracle, Postgres and DBF standard clipper).
I lookup inside the HMG example, but I don't find (or perhaps I don't understand!); over Internet (but I don't remember address :oops: ) I look there is one possible solution that was similar to (but more interrogative point inside the source) Antonio Novo and his MyGrid: do You know?

Last question for my knowledge. I am registered here because I think this is HMG forum: this site it's only for official devellopper? I'm in a wrong place? I'm sorry if I have done a mistake.

Thanks a lot in advise to You.
Luigi from Italy
www.L3W.it

User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Post by l3whmg » Tue Feb 24, 2009 9:10 am

Hi Rathinagiri (I'm sorry I don't understand if it's first o last name).
My "problem" it's a doubt to prevent this possibility.
On the other hand, for me, to submit at HMG forum one idea (bad or good It's Your choice) to improve HMG grid control.
Luigi from Italy
www.L3W.it

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

Post by luisvasquezcl » Tue Feb 24, 2009 12:38 pm

*** Español
Hola Luigi,
"I am registered here because I think this is HMG forum: this site it's only for official devellopper? I'm in a wrong place?"
Estas registrado en el lugar correcto. El hecho que te recomiende inscribirte en harbourminigui@yahoogroups.com es porque también es una lista mucho más antigua que este foro, de hecho esta desde el inicio de hmg, y hay mucha más gente que puede ayudar.
Sobre el gridado, estoy trabajando en una versión que funcione como el browse, que permita cargar páginas, pero le falta bastante trabajo aún.
Sobre la forma de cargar datos por páginas lo tienes que instrumentar ya que no hay ningún control especializado.
Si necesitas ayuda cuenta conmigo.
Un abrazo.

** English google
i Luigi,
"I am registered here because I think this is HMG forum: this site it's only for official devellopper? I'm in a wrong place?"
Registered in the right place. The fact that you enroll in harbourminigui@yahoogroups.com is recommended because it is a lot older than this forum of this fact since the beginning of HMG, and there are many more people who can help.
On the grid, I am working on a version that works like the browser, allowing pages to load, but it lacks a lot of work yet.
On the way to load the data pages it needs to be done because there is no control specialist.
If you need help count on me.
Un abrazo.
Luis Vasquez

User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Post by l3whmg » Tue Feb 24, 2009 12:48 pm

Hi Luis,
many thanks a lot!!!
I love Your job, Minigui and Clipper.
I don't know why in Italy, most programmers like VisualBasic and loose the opportunity to use Clipper: it's incredible.
Luigi from Italy
www.L3W.it

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

Post by luisvasquezcl » Tue Feb 24, 2009 1:31 pm

Yes,
My too, this language is great. Here, Chile, many programmers use .net, java, etc. and not xbase.
Regards,
Luis Vasquez.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests