G
Gator
I have a label control where I want to list all the dates that are like the
month and year that is displayed in a textbox (which gets it's date from a
calendar control), how would that be stated on form load?
something like....????
Dim text3 As Date
cal.Value = Date
text3 = cal.Value
Label8.Caption = DCount("DateDep", "Deposits", "Year([DateDep]) = " &
DatePart("y", Me![text3]) & " And Month([DateDep]) = " & DatePart("m",
Me![text3]) & "")
month and year that is displayed in a textbox (which gets it's date from a
calendar control), how would that be stated on form load?
something like....????
Dim text3 As Date
cal.Value = Date
text3 = cal.Value
Label8.Caption = DCount("DateDep", "Deposits", "Year([DateDep]) = " &
DatePart("y", Me![text3]) & " And Month([DateDep]) = " & DatePart("m",
Me![text3]) & "")