Home General

how can i group a variable?

edited July 2001 in General
Hi,

i have a field have value a date, and a variable calculation is

var
year, month, day: Integer;
begin
DecodeDate(Table['Date'], year, month, day);
Value := month;
end;

my database sort by Date

i want to make a group by month as custom field,
but my group dont success.

Thanks,

Murat Ak
CPMSoft A.S.

Comments

  • edited July 2001
    Hi,

    via the report group menu I was able to create a user defined group on a
    ppVariable. Therefore which version of RB are you using? Which kind of
    behaviour do you want to achive?

    I think from your text that your are able to create the group but the
    result is not ordered by month. Is this correct? Or is something else
    wrong with the result?

    enjoy,
    Ron.

  • edited July 2001
    In article <8EAE82296ACCD311A039005004E0CAC004234F@DMSERVER>, Murat Ak
  • edited July 2001
    Thanks for your answer,
    i succeed.

    good luck,

This discussion has been closed.