G
Guest
Hi,
I currently have a combo box (cboPeriodYears) that has a list of values
For example
2002-2003
2003-2004
2004-2005
etc
When the form loads, I want the current combo box value to be populated with
the value YYYY-YYYY(+1) based on criteria.
For example; If the date is between 1/9/2004 and 31/8/2005, I want the
cboPeriodYears combo box to be populated with 2003-2004.
And again, if the the date is between 1/9/2005 and 31/8/2006, I want the
cboPeriodYears combo box to be populated 2004-2005.
I am sure I could probably use the format function of the date() somehow.
Any assistance would be greatfully received.
I currently have a combo box (cboPeriodYears) that has a list of values
For example
2002-2003
2003-2004
2004-2005
etc
When the form loads, I want the current combo box value to be populated with
the value YYYY-YYYY(+1) based on criteria.
For example; If the date is between 1/9/2004 and 31/8/2005, I want the
cboPeriodYears combo box to be populated with 2003-2004.
And again, if the the date is between 1/9/2005 and 31/8/2006, I want the
cboPeriodYears combo box to be populated 2004-2005.
I am sure I could probably use the format function of the date() somehow.
Any assistance would be greatfully received.