Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
If Forms ("过程记录").opened Then
Dim t1 As Table = Tables("过程记录_Table10")
Dim S1 As String = t1.Current(t1.ColS("目录树生成列"))
Dim S2 As String = Forms ("任务说明").Controls("TextBox1").text
If S1 = "" Then
S1 = S2
Else
If S1 Like "'%任务说明%'"Then 当S1包含“任务说明 ”是,S1内容不改写,测试时还是被改写了,哪里错了?
S1 = S1
Else
S1 = S1 & "," & S2
End If
End If
t1.Current(t1.ColS("目录树生成列")) = S1
End If
If Forms ("过程记录").opened Then
Dim t1 As Table = Tables("过程记录_Table10")
Dim S1 As String = t1.Current(t1.ColS("目录树生成列"))
Dim S2 As String = Forms ("任务说明").Controls("TextBox1").text
If S1 = "" Then
S1 = S2
Else
If S2 <> "" Then
If S1 Like "'%任务说明%'"Then
Else
S1 = S1 & "," & S2
End If
End If
End If
t1.Current(t1.ColS("目录树生成列")) = S1
End If
去掉 S1 = S1还是一样