以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- BeforeSelChange事件 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=123055) |
-- 作者:manyifuwu -- 发布时间:2018/8/7 11:56:00 -- BeforeSelChange事件 下面的代码,,放在BeforeSelChange事件里项目打不开,不知道是那有冲突? Dim r As Row = Tables("派工").Current Dim p As String = IIF(r.DataRow.RowState = DataRowState.Added, "A#", "U#") r.Save() \'一定要在保存后合成信息,因为新增行的主键在保存后才生成 Dim msg As String = p & "派工" & "#" & r("_Identify") For Each bd As QQBuddy In QQClient.Buddies If bd.Online Then QQClient.Send(bd.name, msg) End If Next
|
-- 作者:有点甜 -- 发布时间:2018/8/7 12:11:00 -- http://www.foxtable.com/bbs/dispbbs.asp?BoardID=2&ID=121516&skin=0
|