Re: dbGo in Delphi 2006



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)
.



Relevant Pages

  • Re: dbGo in Delphi 2006
    ... I have a table that populates a grid. ... When a TAdoQuery is opened in the IDE, the grid is populated. ...
    (borland.public.delphi.database.ado)
  • Re: Format grid column to display "" instead of datetime DBNull (1
    ... I think it refers to the TableStyles object within the Grid. ... Carlos Lozano ... >> I have a grid that populates from a table on SQL Server. ... >> sTable, string sColumn) ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Format grid column to display "" instead of datetime DBNull (1
    ... Carlos Lozano wrote: ... I know the grid is not the problem as I can see it after it is populated. ... I have a grid that populates from a table on SQL Server. ... DataGridColumnStyle newColStyle; ...
    (microsoft.public.dotnet.languages.csharp)
  • dbGo in Delphi 2006
    ... I have a table that populates a grid. ... When a TAdoQuery is opened in the ... IDE, the grid is populated. ...
    (borland.public.delphi.database.ado)