Categories
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
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 a Question
731 491 924 answers to any question