以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 如果文本框不为空应该怎么写老师 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=172637) |
||||
-- 作者:aaa1234 -- 发布时间:2021/10/23 8:42:00 -- 如果文本框不为空应该怎么写老师 e.Form.Controls("TextBox1")如果文本框不为空应该怎么写老师 |
||||
-- 作者:有点蓝 -- 发布时间:2021/10/23 9:02:00 -- if e.Form.Controls("TextBox1").text > "" then |
||||
-- 作者:aaa1234 -- 发布时间:2021/10/23 9:05:00 -- If e.DataCol.Name = "单号" Then Dim dr As DataRow dr = e.DataTable.Find("单号 = \'" & e.NewValue & "\' and _Identify <>" & e.DataRow("_Identify"),"跟单 desc") If dr Is Nothing Then e.DataRow("跟单") = 1 Else e.DataRow("跟单") = dr("跟单") + 1 End If End If 老师我想问一下我新增到10的时候他就不往上+1是不是代码有问题了
|
||||
-- 作者:有点蓝 -- 发布时间:2021/10/23 9:10:00 -- "跟单"列必须是整数型 |
||||
-- 作者:aaa1234 -- 发布时间:2021/10/23 9:26:00 -- Dim dr As Row = Tables("Table_3").Current If dr Is Nothing Then Return If dr("状态")="跟进中" Dim d As Date = cdate(dr("记录日期")).adddays(val(e.Form.Controls("TextBox6").text)) Dim dt As Date = format(d,"yyyy-MM-dd 23:59:59") Dim t As TimeSpan = dt - Date.Today \'计算现在离今天的24时整还差多少时间 e.Form.Controls("Label29").Text = "剩余" & t.Days & "天" & t.Hours & "小时" & t.Minutes & "分" & t.Seconds & "秒" Dim Lbl As WinForm.Label = e.Form.Controls("Label29") If Lbl.ForeColor = Color.Red Then Lbl.ForeColor = Color.Black Else Lbl.ForeColor = Color.Red End If Else e.Form.Controls("Label29").text ="" End If
|
||||
-- 作者:aaa1234 -- 发布时间:2021/10/23 9:26:00 -- 老师这个计时器的时间动不了 |
||||
-- 作者:有点蓝 -- 发布时间:2021/10/23 9:50:00 -- 计时器开启了吗?当前行是空值吗?状态是跟进中吗? |
||||
-- 作者:aaa1234 -- 发布时间:2021/10/23 9:59:00 -- 老师加了还是不行麻烦帮我看一下可以吗 |
||||
-- 作者:aaa1234 -- 发布时间:2021/10/23 9:59:00 -- 11 |
||||
-- 作者:aaa1234 -- 发布时间:2021/10/23 10:01:00 -- 111
|