Rss & SiteMap

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

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

标题:合成表达式问题

1楼
Alexchenchi 发表于:2023/11/13 10:56:00
If e.Col.Name = "工程编号" Then
    Dim fl As String
    fl = "[总组]<#" & "date.today.add(20)#" And "[备注]<>'" & "delivered'"
    e.Col.ComboList = DataTables("年度计划").GetComboListString("工程编号", fl)
End If

出现了以下的错误

从字符串“[总组]<#date.today.add(20)#”到类型“Long”的转换无效

求指教
2楼
有点蓝 发表于:2023/11/13 10:59:00
fl = "[总组]<#" & date.today.add(20) & "# And [备注]<>'delivered'"

有空多看看:http://www.foxtable.com/webhelp/topics/1284.htm
3楼
Alexchenchi 发表于:2023/11/13 11:13:00
图片点击可在新窗口打开查看

总组列 的类型是日期
[此贴子已经被作者于2023/11/13 11:17:01编辑过]
4楼
有点蓝 发表于:2023/11/13 11:27:00
fl = "[总组]<#" & date.today.adddays(20) & "# And [备注]<>'delivered'"
共4 条记录, 每页显示 10 条, 页签: [1]

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

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