口袋妖怪火红耿鬼催眠:请哪位大虾告诉我这段程序什么意思!是VB+ACCESS系统上的程序

来源:百度文库 编辑:高考问答 时间:2024/04/28 05:20:27
firstday = Year(Date) & "-" & Me.comMonth.Text & "-1"
days = DateDiff("d", Year(Date) & "-" & Me.comMonth.Text & "-1", _
Year(Date) & "-" & Me.comMonth.Text + 1 & "-1")
lastday = Year(Date) & "-" & Me.comMonth.Text & "-" & days
sql = "select * from SalaryStatistics where YearMonth between #"
sql = sql & firstday & "# and #" & lastday & "#"
Set rsobj = getRS(sql, "Salary")


乱码????