I am creating a very simple program in Delphi 2007. I have two forms, Main and Display. Man contains two buttons, Next and Close. Next contains the following code.
Application.CreateForm(TForm_Display,Form_Display);
Form_Display.ShowModal;
Form_Display.Free;
Form Main also contains an ADOConnection, ADOTable and a DataSource.
Form Main had Display in its Uses clause and Display has Main in its Uses clause.
Form is displayed and it only contains a DBgrid.
Problem:
There is no listing in the DBGrid DataSource property.
What is my problem and what is the solution?
Application.CreateForm(TForm_Display,Form_Display);
Form_Display.ShowModal;
Form_Display.Free;
Form Main also contains an ADOConnection, ADOTable and a DataSource.
Form Main had Display in its Uses clause and Display has Main in its Uses clause.
Form is displayed and it only contains a DBgrid.
Problem:
There is no listing in the DBGrid DataSource property.
What is my problem and what is the solution?