select dataset upon loading

How can I programmatically select a dataset upon opening the designer?

I want the end-user to see the available data immediately.
I.e without selecting it manually in the designermenu with 'Report/Data..'

Comments

  • edited 5:08AM
    frxReport1.DataSets.Clear;
    frxReport1.DataSets.Add(frxDBDataSet1);
    frxReport1.DesignReport;

Leave a Comment