分类：电脑/网络-程序设计-数据库
问题：谁知道这段VB程序是什么意思SetRecordDate=dbs. 
Set RecordDate = dbs.OpenRecordset("select max(Day) as Max,min(Day) as Min from 信息变化表")    If Not RecordDate.BOF And Not RecordDate.EOF Then       MaxDate = RecordDate.Fields("Max")       MinDate = RecordDate.Fields("Min")If Not RecordStatics.EOF Then        RecoSet RecordDate = dbs.OpenRecordset("select max(Day) as Max,min(Day) as Min from 信息变化表")    If Not RecordDate.BOF And Not RecordDate.EOF Then       MaxDate = RecordDate.Fields("Max")       MinDate = RecordDate.Fields("Min")If Not RecordStatics.EOF Then        RecordStatics.MoveLast上述两段VB程序是什么意思
回答：Set RecordDate = dbs.OpenRecordset("select max(Day) as Max,min(Day) as Min from 股票信息变化表")
执行SQL查询语句，返回的记录集给 RecordDate
If Not RecordDate.BOF And Not RecordDate.EOF Then
如果游标没有到达最上面（BOF），并且没有到达最下面（EOF），说明表中有记录，则：
MaxDate = RecordDate.Fields("Max")
把表中 Max 字段的值给  MaxDate
MinDate = RecordDate.Fields("Min")
把表中 Min 字段的值给  MinDate

If Not RecordStatics.EOF Then
如果游标没有到达最下面（EOF），则：
RecordStatics.MoveLast
移动到下一条记录。