Board index » cppbuilder » error for "NO SQL statement available"

error for "NO SQL statement available"

hello:
    I had wrote a program to excuse the function of the type library,the
function using query to select the recorder,the sentence is:
Query1->SQL->Clear();
Query1->SQL->Text="select * from XXXX";
Query1->Open();
This sentence can execuse on the C/S manchine.but when i excuse it ,the
program show that"Query1:NO SQL statement available".
    Why?
    Waiting for your help!

                                        a Chinese man
                                                Z.N.

 

Re:error for "NO SQL statement available"


Quote
: "zn" <z...@public.jninfo.net.cn> wrote:
>Query1->SQL->Clear();

tn, this here isn't really where the people who know about your database
problem hang out, so a much better place for your question probably is a
group in the hierarchy

  borland.public.cppbuilder.database.*

To learn more about this server and the group that it carries, have a look
at http://www.borland.com/newsgroups/

Thanks!

--
General information:
  * Post to the right group - http://www.borland.com/newsgroups/
    * Do not cross- or multipost
      * Research at http://www.mers.com/searchsite.html

Stefan Hoffmeister - http://www.econos.de/
(TeamB - http://www.teamb.com/)

Other Threads