北京 | 上海 | 天津 | 重庆 | 广州 | 深圳 | 珠海 | 汕头 | 佛山 | 中山 | 东莞 | 南京 | 苏州 | 无锡 | 常州 | 南通 | 扬州 | 徐州 | 杭州 | 温州 | 宁波 | 台州 | 福州 | 厦门 | 泉州 | 龙岩 | 合肥 | 芜湖 | 成都 | 遂宁 | 长沙 | 株洲 | 湘潭 | 武汉 | 南昌 | 济南 | 青岛 | 烟台 | 潍坊 | 淄博 | 济宁 | 太原 | 郑州 | 石家庄 | 保定 | 唐山 | 西安 | 大连 | 沈阳 | 长春 | 昆明 | 兰州 | 哈尔滨 | 佳木斯 | 南宁 | 桂林 | 海口 | 贵阳 | 西宁 | 乌鲁木齐 | 包头 |
需要改造一个函数,目的是把查询出来的结果再用“|”拼起来作为最后一项。
比如下列函数实现的结果是给出一个表格可供选择
AscRSYN1 | System check 1 |
AscRSYN2 | System check 2 |
AscRSYN1 | System check 1 |
AscRSYN2 | System check 2 |
AscRSYN1|AscRSYN2 | Any checkLN |
求指导,如何实现
Private Function Display_syncln_Logical_Nodes(ByVal pLD As String)
' If we aren't been given a LD then clear the data completely
' otherwise display a list of synchronization LN for the selected LD
If pLD = "" Then
cbxSyncln.RowSource = ""
Else
cbxSyncln.RowSource = "SELECT LD_LNInstances.Instance_name, LD_LNInstances.Comment " & _
"FROM LNNames INNER JOIN LD_LNInstances ON LNNames.LNName = LD_LNInstances.LNName " & _
"WHERE (((LD_LNInstances.LDName)=" & cQT & pLD & cQT & ") AND " & _
" ((IIf([LNNames]![Modelling_source] Is Null,[LNNames]![LNName],[LNNames]![Modelling_source]))=" & cQT & "RSYN" & cQT & "));"
End If
' Refresh our display
cbxSyncln.Requery
End Function