数据库小问 一问:表格中有字段是保存该条记录的时间,想要使数据库保存一个月内的信息,超出一个月的就要删掉,如何操作啊?二问:想使msflexgrid的不同列读取不同表格的字段,如何实现?本人初做数据库,请多指教,分不够再加 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 一问:你在窗体的加载时间里写好,当保存该条记录的时间 = 30 天时,删除该记录,时间做差你会吧???二问:With MSHFlexGrid1 .Cols = 9 .TextMatrix(0, 0) = " " .TextMatrix(0, 1) = "轴 1" .TextMatrix(0, 2) = "轴 2" .TextMatrix(0, 3) = "轴 3" .TextMatrix(0, 4) = "轴 4" .TextMatrix(0, 5) = "平均值" .TextMatrix(0, 6) = "超出值" .TextMatrix(0, 7) = "椭圆度" .TextMatrix(0, 8) = "温度" '设置行标题 With MSHFlexGrid1 .Rows = 11 .TextMatrix(0, 0) = " " .TextMatrix(1, 0) = "实际值" .TextMatrix(3, 0) = "平均值" .TextMatrix(2, 0) = "最小值" .TextMatrix(4, 0) = "最大值" .TextMatrix(5, 0) = "标准值" .TextMatrix(6, 0) = "测量次数" .TextMatrix(7, 0) = "最大上限范围内次数" .TextMatrix(8, 0) = "最小下限范围外次数" .TextMatrix(9, 0) = "上限范围外次数" .TextMatrix(10, 0) = "下限范围内次数" '固定表头 .FixedRows = 1 '设置各列的对齐方式 For i = 0 To 8 .ColAlignment(i) = 0 Next i '表头项居中 .FillStyle = flexFillRepeat .Col = 0 .Row = 0 .RowSel = 1 .RowSel = 2 .RowSel = 3 .RowSel = 4 .RowSel = 5 .RowSel = 6 .RowSel = 7 .RowSel = 8 .RowSel = 9 .RowSel = 10 .ColSel = .Cols - 1 .CellAlignment = 4 .Row = 1 End With End With 请问时间做差怎么做啊??我意思是说它的不同的列与表中的不同字段怎么连接啊??………………………………………………………………………………1.可以用format先转换在做差!不懂什么意思?……………………………………………………………………………… Recordset的后面参数该怎样用? TreeView的一个简单问题? 学VB的苦恼(讨论问题大散分) 高分求解:如何把任意二制制数转成一个两位十六进制数 msgbox框显示,窗体不消失。 请问如何加载外接程序管理器???急急急!!! 求大神帮忙解惑 在vb下使用过AnimateWindow这条API函数的人请进 在VB中如何实现对计算机并口的简单操作 讨论如何在win2000和NT中配置用vb开发的ActiveX dll 和ActiveX Exe,加分 大家谁能告诉我几个VB程序。。。。 高手出手拉!打包出問題啊!
二问:With MSHFlexGrid1
.Cols = 9
.TextMatrix(0, 0) = " "
.TextMatrix(0, 1) = "轴 1"
.TextMatrix(0, 2) = "轴 2"
.TextMatrix(0, 3) = "轴 3"
.TextMatrix(0, 4) = "轴 4"
.TextMatrix(0, 5) = "平均值"
.TextMatrix(0, 6) = "超出值"
.TextMatrix(0, 7) = "椭圆度"
.TextMatrix(0, 8) = "温度"
'设置行标题
With MSHFlexGrid1
.Rows = 11
.TextMatrix(0, 0) = " "
.TextMatrix(1, 0) = "实际值"
.TextMatrix(3, 0) = "平均值"
.TextMatrix(2, 0) = "最小值"
.TextMatrix(4, 0) = "最大值"
.TextMatrix(5, 0) = "标准值"
.TextMatrix(6, 0) = "测量次数"
.TextMatrix(7, 0) = "最大上限范围内次数"
.TextMatrix(8, 0) = "最小下限范围外次数"
.TextMatrix(9, 0) = "上限范围外次数"
.TextMatrix(10, 0) = "下限范围内次数"
'固定表头
.FixedRows = 1
'设置各列的对齐方式
For i = 0 To 8
.ColAlignment(i) = 0
Next i
'表头项居中
.FillStyle = flexFillRepeat
.Col = 0
.Row = 0
.RowSel = 1
.RowSel = 2
.RowSel = 3
.RowSel = 4
.RowSel = 5
.RowSel = 6
.RowSel = 7
.RowSel = 8
.RowSel = 9
.RowSel = 10
.ColSel = .Cols - 1
.CellAlignment = 4
.Row = 1
End With
End With
我意思是说它的不同的列与表中的不同字段怎么连接啊??
………………………………………………………………………………1.可以用format先转换在做差!不懂什么意思?………………………………………………………………………………