DBCross and ordinal number

Is there any way to add an ordinal number to dbcross ?

Comments

  • edited 3:39PM
    adelmus wrote: »
    Is there any way to add an ordinal number to dbcross ?
    Could you explain what do you mean by ordinal number?
  • edited 3:39PM
    Mick.pl wrote: »
    Mick.pl wrote: »
    Is there any way to add an ordinal number to dbcross ?
    Could you explain what do you mean by ordinal number?

    Something like system variables <Line#>.
  • edited 3:39PM
    adelmus wrote: »
    Something like system variables <Line#>.
    <Line#> is out of use inside a TfrxDBCrossView.
    I guess you need to do something with rows of TfrxDBCrossView - if so there are other ways.
    You may use Memo.TagStr to keep any value which you can get in OBP event of OnPrintCell.
  • edited 3:39PM
    Mick.pl wrote: »
    Mick.pl wrote: »
    Something like system variables <Line#>.
    <Line#> is out of use inside a TfrxDBCrossView.
    I guess you need to do something with rows of TfrxDBCrossView - if so there are other ways.
    You may use Memo.TagStr to keep any value which you can get in OBP event of OnPrintCell.

    I want to put this value (like <Line#>) to DBCrossView ...
  • edited 3:39PM
    adelmus wrote: »
    I want to put this value (like <Line#>) to DBCrossView ...
    You may pass any value to DBCross cells using OnPrintCell event.
    procedure Cross1OnPrintCell(Memo: TfrxMemoView; RowIndex, ColumnIndex, CellIndex: Integer; RowValues, ColumnValues, Value: Variant);
    begin
      TfrxMemoView(Memo).Text := <your data>;
    end;
    

  • edited 3:39PM
    Mick.pl wrote: »
    You may pass any value to DBCross cells using OnPrintCell event.
    procedure Cross1OnPrintCell(Memo: TfrxMemoView; RowIndex, ColumnIndex, CellIndex: Integer; RowValues, ColumnValues, Value: Variant);
    begin
      TfrxMemoView(Memo).Text := <your data>;
    end;
    

    It's work for the DBCross1Cell0, but not for the DBCross1Row0.
    It"http://www.fast-report.com/en/forum/?p=/discussion/9390"; ] FastReport 4.0 - Forum[/url]
  • edited 3:39PM
    adelmus wrote: »
    It's work for the DBCross1Cell0, but not for the DBCross1Row0.
    Once I met such an issue (as that topic says about) but don't remember how I'd fixed it [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> I attach an example based on a standard demo fr3 file. Have a look at it and see if this helps you anyway.[/img]
  • edited 3:39PM
    Thank you for your help. [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> It's works. Greetings[/img]

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.