Foxtable(狐表)用户栏目专家坐堂 → BeforeLoadOuterTable


  共有2177人关注过本帖平板打印复制链接

主题:BeforeLoadOuterTable

帅哥哟,离线,有人找我吗?
yetle
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:四尾狐 帖子:858 积分:6381 威望:0 精华:0 注册:2017/2/13 9:04:00
BeforeLoadOuterTable  发帖心情 Post By:2018/7/7 11:56:00 [只看该作者]

报价单和报价明细都是外部数据表
If e.DataTableName = "报价单" Then
    Dim StartDate As Date = Date.Today().AddDays(-10)
    e.SelectString = "Select * F rom {报价单} Where [业务部_申请日期] > #" & StartDate & "#"
End If


If e.DataTableName = "报价申请" Then
Dim StartDate As Date = Date.Today().AddDays(-10)
e.SelectString = "Select * F rom {报价明细} Where [日期] > #" & StartDate & "#"
End If

错误提示:
图片点击可在新窗口打开查看此主题相关图片如下:111.png
图片点击可在新窗口打开查看

 回到顶部
总数 12 1 2 下一页