Code: Select all
While NextDatabaseRow(dbHandle)
AddGadgetItem(#LVIEW, -1, GetDatabaseString(dbHandle, 0))
Wend
why do I get a seemingly blank ListviewGadget if the last value above ('0') is set to 1, the field (tagline) that I'm trying to retrieve? I say 'seemingly blank' field because if you hit the 'query' button enough times a vertical scrollbar appears - with nothing showing in the ListviewGadget.
The routine works like it is shown above but it's counter intuitive to me - field '0' should be the ID, field '1' should be the (desired) tagline field and field '2' should be the contents.
It's making me CRAZY ...

I'm sure there is a logical explanation ... isn't there ... ??? Is it because the first field is an Integer and not a string???
TIA.
Tom