View Single Post
  #4  
Old 12-28-2011, 12:19 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Gunderak View Post
I have read some things and understand how to use SQLite, it's rather easy.
W3 schools had a good example which I learnt most of it from.
But I was just unsure on how to get all the rows.
And I take it with you're example you'd send it to the client then do a for loop and then just get like temp.rows.size and add rows into a text list?
Thanks!
It's just an array of rows, you would probably want to display each row with GuiTextListCtrl.addRow by looping through them.

Quote:
And the only really thing I think I'm doing wrong is where it has like var char null by default and crap like that.
SQLite doesn't use VARCHAR, you should just use TEXT.
__________________
Reply With Quote