Thread: Query where is the wrong

  1. #1
    Registered User
    Join Date
    Jul 2006

    Query where is the wrong

    Please help... I have made an application in BCB6 that i use to save pictures with BLOB method. So i used ADOTable,ADOConnection,DataSource,
    DBGrid. I want to make some queries by using ADOQuery but i never get a result. The code is

    ADOQuary1->SQL->Add("SELECT Name FROM Images");
    ADOQuary1->Active = true;

    where is the wrong?Please help

  2. #2
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Is this C++? I have never seen written as this before. All I reconise is the while loop and
    the indirection operator used in pointer operations '->'

  3. #3
    Registered User
    Join Date
    May 2006
    He uses Borland C/C++ Builder 6, which means that the code he uses is part of an ugly API like MFC. No idea about the problem though.

    Edit: You may want to actually tell us what is going wrong because we don't all have crystal balls to know what you expect the code to do and what it does instead.

    I might actually point out to you that topic titles like 'Query where is the wrong' aren't very helpful to readers. Try to think about it a minute or two before giving your thread a title. It should be clear what is in the topic. Perhaps something like 'BLOB saving method using ADO in BCB' would have been better.

    @swgh: My guess is that ADOQuary1 and ListBox1 are interfaces in BCB's API. Each interface provides a set of tools to work with.
    Last edited by Desolation; 09-18-2006 at 06:22 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 07-15-2004, 03:30 PM
  2. Debugging-Looking in the wrong places
    By JaWiB in forum A Brief History of
    Replies: 1
    Last Post: 11-03-2003, 10:50 PM
  3. Confused: What is wrong with void??
    By Machewy in forum C++ Programming
    Replies: 19
    Last Post: 04-15-2003, 12:40 PM
  4. God
    By datainjector in forum A Brief History of
    Replies: 746
    Last Post: 12-22-2002, 12:01 PM
  5. Whats wrong?
    By Unregistered in forum C Programming
    Replies: 6
    Last Post: 07-14-2002, 01:04 PM