G
Guest
If [DateField] < 10/1/2007 Then
[FiscalYear] = 2007
If [DateField] >= 10/1/2007 Then
[FiscalYear] = 2008
So am wrestling with the form code being year independent, which is to say I
can NOT hard code in If [DateField] < 10/1/2007 because that would only
work for this year....need it to be generic...
If [mm/dd/yyyy] < 10/1/yyyy Then
[FiscalYear] = yyyy
If [DateField] >= 10/1/yyyy Then
[FiscalYear] = (yyyy + 1)
so it will work year after year - - need to take the DateField's year...and
plug it onto the fixed 10/1/____ and then do the compare
still struggle with date manipulation and would greatly welcome
assist....thnks...NTC
[FiscalYear] = 2007
If [DateField] >= 10/1/2007 Then
[FiscalYear] = 2008
So am wrestling with the form code being year independent, which is to say I
can NOT hard code in If [DateField] < 10/1/2007 because that would only
work for this year....need it to be generic...
If [mm/dd/yyyy] < 10/1/yyyy Then
[FiscalYear] = yyyy
If [DateField] >= 10/1/yyyy Then
[FiscalYear] = (yyyy + 1)
so it will work year after year - - need to take the DateField's year...and
plug it onto the fixed 10/1/____ and then do the compare
still struggle with date manipulation and would greatly welcome
assist....thnks...NTC