Database,Datagrid and Styled text
Posted: Sat Oct 01, 2011 1:05 pm
Hi All,
I created a sqlite database containing about 4000 rows of 10 columns each (primary key on rowid).
I have use the this function:
--put "SELECT *FROM Mytable" into tSQL
--put revDataFromQuery(tab,cr, gConID, tSQL) into tData
--set the itemdelimiter to tab
--set the columndelimiter to comma
So far i am able to retrieve the informations using the "items i of line l" but here is my problem;
1)I want ot search a string in one of the columns of the database and determine its line (or row) so i can work on the line and display its items.
2) Do i need to populate my database into datagrid to facilitate the queries?
3) In the database,some of the records contains <b>,</b> and other styles(or HTML not sure!) but when i display them into fields in the app,they still appear that way........i tried the functions like plaintext,htmltext to apply their style etc.... but no joy!
Many Thx your Help!
I created a sqlite database containing about 4000 rows of 10 columns each (primary key on rowid).
I have use the this function:
--put "SELECT *FROM Mytable" into tSQL
--put revDataFromQuery(tab,cr, gConID, tSQL) into tData
--set the itemdelimiter to tab
--set the columndelimiter to comma
So far i am able to retrieve the informations using the "items i of line l" but here is my problem;
1)I want ot search a string in one of the columns of the database and determine its line (or row) so i can work on the line and display its items.
2) Do i need to populate my database into datagrid to facilitate the queries?
3) In the database,some of the records contains <b>,</b> and other styles(or HTML not sure!) but when i display them into fields in the app,they still appear that way........i tried the functions like plaintext,htmltext to apply their style etc.... but no joy!
Many Thx your Help!