I am working with the following formula & don't know where I am going wrong.
If(DayOfWeek(currentdate)=2)
then
({@IMP Date} = (currentdate-2))
else
{@IMP Date} = (currentdate);
{TRADEPAY.RRProductionCredit}
although the formula works it is not returning the value I need.
My record selection is identified below because I have a daily, MTD & YTD Commissions column:
{TRADES.TradeDate}>=(if(month(currentdate)>10)
then
dateserial(year(currentdate),10,1)
else
dateserial(year(currentdate)-1,10,1))
Any assistance is appreciated
If(DayOfWeek(currentdate)=2)
then
({@IMP Date} = (currentdate-2))
else
{@IMP Date} = (currentdate);
{TRADEPAY.RRProductionCredit}
although the formula works it is not returning the value I need.
My record selection is identified below because I have a daily, MTD & YTD Commissions column:
{TRADES.TradeDate}>=(if(month(currentdate)>10)
then
dateserial(year(currentdate),10,1)
else
dateserial(year(currentdate)-1,10,1))
Any assistance is appreciated