gtk database string grid

BlitzMax Forums/MaxGUI Module/gtk database string grid

Chris C(Posted 2007) [#1]
This is still very much an ugly hack but it does work within limits!

I'm posting it here in the naive hope that all the talent that the 250 byte challenged showed off can be turned to somthing useful

I don't have vast amounts of time but with help we could have a cross platform database bound set of components

By preference I'd prefer to drop the procedural type api of maxgui and adopt a cleaner OO gui api for max

@brucey although rows_affected can be used to tell how many rows are in a query (according to the mysql manual) this is not likely to be the case with other engines as you know, it would be handy to have a "proper" query.numrows() method




Brucey(Posted 2007) [#2]
it would be handy to have a "proper" query.numrows() method

Can't be done in a cross-database way, since most databases don't know how many rows are returned until you fetch them. And it would be a bit silly for me to be pre-fetching 3 million rows just to get a row count :-)