Re: problem retreiving data (mysql++1.7.17)

2004-11-08 Thread Warren Young
Warren Young wrote: if (rs.begin() != rs.end()) That will never be true for any STL or STL-like container. I think you want something like (rs.size() > 0). Sorry, I mean that will _always_ be true. 1. Glib::ustring lastname = row["LastName"]; See the ChangeLog for why this does not work. It's in

Re: problem retreiving data (mysql++1.7.17)

2004-11-08 Thread Warren Young
David Kinyanjui wrote: I have a mysql++ question... I'm not sure if this is right list to post to. It isn't. The MySQL++ mailing list's home is http://lists.mysql.com/plusplus Well, I just upgraded mysql++ from version 1.7.9 to 1.7.17. 1.7.21 is the current version. See

problem retreiving data (mysql++1.7.17)

2004-11-08 Thread David Kinyanjui
Hello; I have a mysql++ question... I'm not sure if this is right list to post to. Well, I just upgraded mysql++ from version 1.7.9 to 1.7.17. Now, my problem is I don't seem to be getting the collect data from a table. I have an order table with the following cols: LastName, FirstName, OrderDate