Re: [Gambas-user] Problem with row count in mysql

2012-04-05 Thread Ian Roper
On Thu, 2012-04-05 at 21:17 -0400, ron...@rrgweb.net wrote: Your problem is with your SQL Query I Think ? $hConn.Exec("use AddressBook;") iData = $hConn.Exec("select count(*) AS RecCount from Addresses") PRINT iData!RecCount Does this work ? Cheers, Ian Roper - Perth Western Australia

Re: [Gambas-user] Problem with row count in mysql

2012-04-05 Thread nando
My two cents worth: I see a few problems: 1) There is an erroneous END just above PRINT iData near the end of your example or something is out of order(?) 2) iData is a Result data type and not an INTEGER...and iData doesn't have the row counts but iData.count is an INTEGER 3) Internally M

[Gambas-user] Problem with row count in mysql

2012-04-05 Thread ronald
I am having trouble getting a row count using mysql. Here is some sample code I have used. All else works and I can connect to the database and table. There are 4 rows in the Table called Addresses. Running this program shows iData and 'a' as having 0 rows. Please advise. Thank you Ron Examp

Re: [Gambas-user] Issue 230 in gambas: Dialog.Savefile replaces spaces in gb.GTK

2012-04-05 Thread gambas
Updates: Status: Fixed Comment #6 on issue 230 by benoit.m...@gmail.com: Dialog.Savefile replaces spaces in gb.GTK http://code.google.com/p/gambas/issues/detail?id=230 Fixed in revision #4600. -- Better than s

Re: [Gambas-user] Issue 230 in gambas: Dialog.Savefile replaces spaces in gb.GTK

2012-04-05 Thread gambas
Comment #5 on issue 230 by ea7...@gmail.com: Dialog.Savefile replaces spaces in gb.GTK http://code.google.com/p/gambas/issues/detail?id=230 I dont't know. But it is something that doesn't happen when using gb.qt4. That's why I thought it has something to do with Dialog class. Anyway, I'm sorr

Re: [Gambas-user] Issue 230 in gambas: Dialog.Savefile replaces spaces in gb.GTK

2012-04-05 Thread gambas
Updates: Status: Accepted Comment #4 on issue 230 by benoit.m...@gmail.com: Dialog.Savefile replaces spaces in gb.GTK http://code.google.com/p/gambas/issues/detail?id=230 So the problem is in Printer.OutputFile, not in the Dialog class!

Re: [Gambas-user] Trouble compiling gb.net SVN 4597

2012-04-05 Thread Benoît Minisini
Le 05/04/2012 14:27, Dr.Diesel a écrit : > > This could be a Fedora 17 issue, as Fedora 16 compiles fine. I'm happy to > email entire output of below if necessary. > > I know code tags don't work, but you get the idea! > > Thanks > > [code] > autoreconf: configure.ac: adding subdirectory gb.net to

[Gambas-user] Trouble compiling gb.net SVN 4597

2012-04-05 Thread Dr.Diesel
This could be a Fedora 17 issue, as Fedora 16 compiles fine. I'm happy to email entire output of below if necessary. I know code tags don't work, but you get the idea! Thanks [code] autoreconf: configure.ac: adding subdirectory gb.net to autoreconf autoreconf: Entering directory `gb.net' autor

Re: [Gambas-user] Issue 230 in gambas: Dialog.Savefile replaces spaces in gb.GTK

2012-04-05 Thread gambas
Comment #3 on issue 230 by ea7...@gmail.com: Dialog.Savefile replaces spaces in gb.GTK http://code.google.com/p/gambas/issues/detail?id=230 Well, version of GTK+ is: jesus@debian:~$ pkg-config --modversion gtk+-2.0 2.20.1 The path returned by Dialog.Path is correct and it seems so in console