Re: [Gambas-user] Huge data in gridview documentation wiki does not explain how

2017-05-19 Thread PICCORO McKAY Lenz
the Datasource code? inside gambas code or in fram? the project that i found that implements something similar are the DataBrowser component but i not foud a usefull way to use for me, as u ask in the other mail i send to you the project .. (in private mail due list does not handle it) For my 50c

Re: [Gambas-user] Huge data in gridview documentation wiki does not explain how

2017-05-19 Thread Fabien Bodard
in fact there is a way for you i think. You must take a look at the DataSource code. It use a load on the need system that i think allow to make something about data provider wich not give any info about the number of data rows. 2017-05-17 1:28 GMT+02:00 PICCORO McKAY Lenz

Re: [Gambas-user] Huge data in gridview documentation wiki does not explain how

2017-05-16 Thread PICCORO McKAY Lenz
Ingo, that My german is not very good, quite limited, a regret to have family, that German gambas wiki is the best in information, the shrimp documentation should be so, I mean the amount of documentation aimed at implementing pieces of code.. the example in the documentation was a good started

Re: [Gambas-user] Huge data in gridview documentation wiki does not explain how

2017-05-16 Thread PICCORO McKAY Lenz
2017-05-16 17:29 GMT-04:00 Tobias Boege : > On Tue, 16 May 2017, PICCORO McKAY Lenz wrote: >> if this the case, how can i implement a search input that retrieve data >> when i put strings!? >> > > At the risk that I didn't understand your question: The GridView does > not store

Re: [Gambas-user] Huge data in gridview documentation wiki does not explain how

2017-05-16 Thread Fabien Bodard
2017-05-16 23:21 GMT+02:00 PICCORO McKAY Lenz : > umm so then as you said, the rs number 3 does not load until i get down > the gridview to the row 3! ? > > if this the case, how can i implement a search input that retrieve data > when i put strings!? gridview is

Re: [Gambas-user] Huge data in gridview documentation wiki does not explain how

2017-05-16 Thread Tobias Boege
On Tue, 16 May 2017, PICCORO McKAY Lenz wrote: > umm so then as you said, the rs number 3 does not load until i get down > the gridview to the row 3! ? > Yes, why don't you try it yourself? > if this the case, how can i implement a search input that retrieve data > when i put strings!?

Re: [Gambas-user] Huge data in gridview documentation wiki does not explain how

2017-05-16 Thread PICCORO McKAY Lenz
umm so then as you said, the rs number 3 does not load until i get down the gridview to the row 3! ? if this the case, how can i implement a search input that retrieve data when i put strings!? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-05-16 17:10 GMT-04:00

Re: [Gambas-user] Huge data in gridview documentation wiki does not explain how

2017-05-16 Thread Tobias Boege
On Tue, 16 May 2017, PICCORO McKAY Lenz wrote: > In gambas wiki documentation said: > > You can fill the grid explicitly, or implement the Data > event to display > the grid contents on demand. > > You should use the last method if you have

Re: [Gambas-user] Huge data in gridview documentation wiki does not explain how

2017-05-16 Thread PICCORO McKAY Lenz
2017-05-16 16:52 GMT-04:00 Fabien Bodard : > > First > MyGridView.Columns.Count = 1 > hResult = DB.Exec. > > A THAT's the problem, THE ODBC row count does not exist, due the MS/sybase ODBC freedts implementaion or gambas i dont know does not retunr any more than "-1"

Re: [Gambas-user] Huge data in gridview documentation wiki does not explain how

2017-05-16 Thread ingo
Hi, have look to the german Gambas-Buch with an example how to load date from a db and show it in the gridView. http://gambas-buch.de/dw/doku.php?id=k17:k17.7:k17.7.5:start[]=gridview Hope that helps. Ingo -- View this

Re: [Gambas-user] Huge data in gridview documentation wiki does not explain how

2017-05-16 Thread Fabien Bodard
Well have you a better exemple. First MyGridView.Columns.Count = 1 hResult = DB.Exec. MyGridView.Rows.Count = hResult.Count then Public sub MyGridView_Data(Row as integer, Column as Integer) hResult.MoveTo(Row) Select case Column Case 0 Last.Data.Text = hResult!Name end Select end

[Gambas-user] Huge data in gridview documentation wiki does not explain how

2017-05-16 Thread PICCORO McKAY Lenz
In gambas wiki documentation said: You can fill the grid explicitly, or implement the Data event to display the grid contents on demand. You should use the last method if you have a lot of rows to display. The control can handle millions of