Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:类型integel转换

1楼
g1j2h3 发表于:2024/8/9 16:58:00
下边代码不知错在哪里
'Dim txt1 As String = e.Form.Controls("TextBox5").Text
'Dim txt2 As String = e.Form.Controls("TextBox6").Text
'Dim y As Integer = " & txt1 & " '指定年份
'Dim m As Integer = "'%" & txt2 & "%'" '指定月份
'Dim rq1 As New Date(y, m, 1)
'Dim rq2 As New Date(y, m, Date.DaysInMonth(y, m)) '获取该月的最后一天
'Dim Filter1 As String
'Dim Filter2 As String
'Filter1 = "入库日期 >= #" & rq1 & "# And 入库日期 <= #" & rq2 & "#"
'Filter2 = "出库日期 >= #" & rq1 & "# And 出库日期 <= #" & rq2 & "#" 
'Tables("入库明细").Filter = Filter1
'Tables("出库明细").Filter = Filter2
2楼
有点蓝 发表于:2024/8/9 17:10:00
Dim y As Integer = e.Form.Controls("TextBox5").Text '指定年份
Dim m As Integer = e.Form.Controls("TextBox6").Text '指定月份
Dim rq1 As New Date(y, m, 1)
共2 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .02734 s, 2 queries.