Home RAP

get first 5 record in detail band

edited January 2003 in RAP
Hi,

I want to display first 5 records in detail band. how can I do with Rap.

Thanks in Advance

Comments

  • edited January 2003
    Set the properties on the pipeline, RangeBegin, RangeEnd and RangeEndCount.
    See the Enumerated Types section in the Language tab of the Code Toolbox.
    The types should be the same name in RAP as you would use in Delphi. Use
    the global OnCreate event in RAP to set these properties. It works in tests
    here just fine.

    ...
    begin

    Biolife.RangeBegin := rbFirstrecord;

    Biolife.RangeEnd := reCount;

    Biolife.RangeEndCount := 5;

    end;


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.