Sorry for taking so long to reply APB, the full formula should look something like this;
StringVar accountingperiod;
If{tppin020.sidt} < DateTime (2005,08,29,00,00,00) Then accountingperiod := "Too early";
If{tppin020.sidt} > DateTime (2005,08,29,00,00,00) and {tppin020.sidt} < DateTime...