Parameters to display

Hi

I created a report(standard) customer balance from custtrans and custtable.

all the informations displayed. report filters, custid, posting profile and transdate (from and to) 01-04-2011…20.04.2011

how to display that transdate in report header

ay one help me.

Saravanan.R

You can write a display method for transDate and return the transDate from the method.

return strfmt("%1…%2"fromDate,toDate);//fromDate and toDate are selected filter dates

Thanks Vinay for your quick reply

i tried, but syntax error

display Transdate bydate()
{
return strfmt("%1…%2" fromDate,toDate);
}

give me your reply.

thanks

Saravanan.R

You forgot to put comma just before fromDate.Moreover the method should return a string.It should be as following

display str bydate()
{
return strfmt("%1…%2",fromDate,toDate);
}

Thank you sir

i tried no error message, but display only … (double dots)

By

Saravanan.R

It is happening because the fromDate and toDate values are blank.You need to initialize the values before running this method.

Sorry for disturbing you, i am new to this, how to initialize the values

here that third one, i need to print this to in my report header

Advance thanks

By

Saravanan.R

Hi

Any one pl help