changing the 'size' of Virtual dataset

Hi!

Is there anyway to change the number or records in the Virtual DataSet at runtime? I have a report that??s fixed for 6 or 10 records. So i could put something
like that:
begin
if Condition 1 then
    VirtualDataSet.RecordCount := 6
  else
    VirtualDataSet.RecordCount := 10;
end

Does anyone seems something like that, without code in the project ?

Thanks.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 2:01PM
    yes
    bandname.datasource := val;
    regards ;)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.