hello, yes this is what i am doing right now to insert where lstdata is QString with all the data i need to insert into the columns. but it is not working , i mean the data is not updated. I am calling this function every 2 seconds.
Qt Code:
m_query.exec(sq);To copy to clipboard, switch view to plain text mode
Added after 10 minutes:
Hello stampede sir , Yes i am getting all the data as i expected in textBrowser.. but its not updated into the data base. . what do i have to do to insert all the data stored in a String
id on't think this approch will work for me sir cause, i am receiving data from rs 232 terminal after aligning the data the way i wanted i am finally appending tat list into the QString lstdata; each string in the list is of 4 char's. .. I just need to insert data from the QString from first position to 500th and again start from 1st column and go on till 500th column with the time stamp.
since the data is appended into the string continiously , i have to insert every consequtive string into the columns from 1 to 500 and come back to 1st column and insert to 500 and so on with the time stamp. ..?! pls help me out with this problem..insert into thdata values(x,'str1','str2',...,'str500');
I did read about lastError() but i am using Qt integrated with Visual Studio IDE so i am not able to use QDebug here.
thanks a lot.
Bookmarks