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: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 39:36:30 |
Calls: | 6,648 |
Files: | 12,193 |
Messages: | 5,329,319 |