Well, I wish it was more elegant. This is kinda clunky. I'm still open to ideas.
If Month(Me.QuarterEnd) = 3 Then
intMonthStart = 1
intYearStart = Year(Me.QuarterEnd)
dteSearchStart = DateValue(intMonthStart & "/1/" & intYearStart)
intMonthEnd = 3
intYearEnd = Year(Me.QuarterEnd)
dteSearchEnd = DateValue(intMonthEnd & "/31/" & intYearEnd)
End If
Well, I wish it was more elegant. This is kinda clunky. I'm still open to ideas.
If Month(Me.QuarterEnd) = 3 Then
intMonthStart = 1
intYearStart = Year(Me.QuarterEnd)
dteSearchStart = DateValue(intMonthStart & "/1/" & intYearStart)
intMonthEnd = 3
intYearEnd = Year(Me.QuarterEnd)
dteSearchEnd = DateValue(intMonthEnd & "/31/" & intYearEnd)
End If
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 493 |
Nodes: | 16 (2 / 14) |
Uptime: | 193:20:37 |
Calls: | 9,707 |
Calls today: | 2 |
Files: | 13,740 |
Messages: | 6,180,251 |