Board index » delphi » tquery.edit problems

tquery.edit problems

hi,
TQUERY.REQUESTLIVE is set to TRUE, but TQUERY.EDIT fails with the following
message :
"it is impossible to modify a read-only dataset "
what is the problem ?

thanks for your help !

 

Re:tquery.edit problems


Quote
>hi,
>TQUERY.REQUESTLIVE is set to TRUE, but TQUERY.EDIT fails with the following
>message :
>"it is impossible to modify a read-only dataset "
>what is the problem ?

>thanks for your help

Is your query a join of two table or more?  If so, you cannot bring back an
editable query alone, you will need to add a TUpdateSql object and connect to
it through your query's UpdateObject property.

********************************
Michael Glatz              
glatzfa...@aol.com
mgl...@briefcase.com
Accept that some days you're the pigeon,
some days you're the statue.

Other Threads