Re: dbGo in Delphi 2006
- From: "Mac Davis" <newsgroups@xxxxxxxxxxxxxx>
- Date: Fri, 31 Mar 2006 08:12:15 -0500
Bill,
You are correct, Win32 and no error messages of any kind.
I was able to "watch" the sql and active properties but couldn't figure out
how to "watch" the datasource and data set properties.
So, I set the query to active at design time and the data shows up at run
time.
I then Click a button and see that the query is active. By stepping through
the code, the qyery.active property changes to false but the data stay is
view.
I know this sounds like I have something hooked up wrong and I know that we
often can't see our own errors. the strange thing is that it happens with
two separate tables.
If there are no known problems with dbGo in Delphi 2006 then I have to keep
digging.
Thanks,
Mac
"Bill Todd" <no@xxxxxx> wrote in message
news:442c8697$1@xxxxxxxxxxxxxxxxxxxxxxxxx
Mac Davis wrote:
Am I going crazy?
I just installed Delphi 2006.
I have a table that populates a grid. When a TAdoQuery is opened in
the IDE, the grid is populated.
However, if I leave the table closed on startup and the issue
dm.qry_software.open nothing happens.
In the same vein, if I leave the table open and try to close it
programatically, nothing happens. What's up?
Thanks,
Mac
I assume that this is a Delphi for Win32 app and that you do not get
any compile time or runtime error messages. If so, set a breakpoint on
the query open statement and check the property values of your
ADOQuery, particularly the SQL property. Also check the DataSource
property of the DBGrid and the DataSet property of the DataSource
component to make sure everything is still connected.
--
Bill Todd (TeamB)
.
- Follow-Ups:
- Re: dbGo in Delphi 2006
- From: Bill Todd
- Re: dbGo in Delphi 2006
- References:
- dbGo in Delphi 2006
- From: Mac Davis
- Re: dbGo in Delphi 2006
- From: Bill Todd
- dbGo in Delphi 2006
- Prev by Date: Re: How to verify if Access database exists...
- Next by Date: Re: dbGo in Delphi 2006
- Previous by thread: Re: dbGo in Delphi 2006
- Next by thread: Re: dbGo in Delphi 2006
- Index(es):