A
A
animr2015-08-21 12:48:22
Delphi
animr, 2015-08-21 12:48:22

How to load data from Database on application startup in Delphi?

Good day to all!!
People tell me how to load data from the database at program startup before the main form is loaded.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zed, 2015-08-21
@animr

Open the *.dpr file and write your code before the CreateForm line:

begin
  Application.Initialize;
  Application.MainFormOnTaskbar := True;
  Application.CreateForm(TfrmMain, frmMain);
  Application.Run;
end.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question