Results 1 to 3 of 3

Thread: Fast report enable report datasets runtime

  1. #1

    Fast report enable report datasets runtime

    Hallo hallo,

    Op welke manier kan ik report datasets vanuit code actief maken, zodat ze zichtbaar worden in het datapanel? Nu moet ik het steeds handmatig aanvinken zoals op de afbeelding.

    Name:  2017-08-09_12-41-57.png
Views: 734
Size:  7.3 KB

    Heb het al geprobeerd met diverse combinaties o.a.:

    Code:
    for I := 0 to frxReport.Report.DataSets.Count - 1 do
            frxReport.Report.DataSets[I].DataSet.Visible := True;
    Code:
          for I := 0 to frxReport.DataSets.Count - 1 do
            frxReport.DataSets[I].DataSet.Enabled := True;
    Maar helaas zonder resultaat

    Bij voorbaat dank!

  2. #2
    John Kuiper
    Join Date
    Apr 2007
    Location
    Almere
    Posts
    8,747
    frxReport.DataSets.Add(frxDBDataset);
    Delphi is great. Lazarus is more powerfull

  3. #3
    Mijn dank is groot!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •