Do anyone know how to request a “live result set” in MySql when query has offset(eg: select * from table limit 10 offset 20;). it is throughing an error like
‘invalid use of keyword’
.
Thanks,
Vijay.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I got it… I have used the TUpdateSQL and the cachedupdates property of the TQuery is made true…now i can edit the dataset(Query1.state=dsedit)i.e., edit the cell values of the dbgrid and i used query1.post and query1.commitupdates before this at design time we should assign the updateobject property of the tquery to the particular Tupdatesql component and the updatesql comp. should contain the relavent update query in the ModifySql property.
Overall the prob. is solved using TUpdateSQL component, if my above disscussion is confusing refer the delphi help for TUpdateSQL, its very clear and easy.
Thanks for all,
Vijay.