我之前发过帖子求助
http://www.foxtable.com/bbs/dispbbs.asp?BoardID=2&ID=106099&replyID=&skin=1
老师予以答复了国际航班的判断。
Dim str As String = r("航段")
Dim lst As new List(of String)
For i As Integer = 0 To str.Length - 1
If lst.Contains(str(i)) = False Then lst.Add(str(i)) ‘城市简称拆分到集合’
Next
msgbox("简称 in ('" & String.Join("','",lst.ToArray) & "') and 国际 = true") '弹出内容自己看效果
Dim cbostring As String = DataTables("航点表").GetComboListString("城市","简称 in ('" & String.Join("','",lst.ToArray) & "') and 国际 = true")
If cbostring > "" Then
msgbox(cbostring)
e.form.controls("国际").Checked = True
e.form.controls("国际名").Text = cbostring
End If
参照国际的判断,写过.夜航班的判断。但是写不成。
请老师予以帮助。。
还有,,弹出内容……,能否不弹出