最近有一個類似的情況。
爲了能夠在查詢設計中運行拆分,可以在標準模塊中創建一個函數,以便能夠從表達式生成器調用它。
Public Function ESplit(Pstring As String, PSeparator As String, PIndex As Integer) As String
'************************************
'Use Split in Expression Builder
'PString - String containing source to be separated
'PSeparator - String containing delimitator
'PIndex - Element of the source to be returned, starts at 0
'************************************
ESplit = Split(Pstring, PSeparator)(PIndex)
End Function
然後指定要使用表達式調用此函數的字的列。
來源
D1 na 256kmsměrBřeclav。
表達式1:ESplit(資料來源,」」,0)
這將產生D1
添加一些代碼,當你張貼問題。或陳述您迄今使用過的查詢。 – Maharshi
https://msdn.microsoft.com/zh-cn/library/8460tsh1(v=vs.90).aspx – MoondogsMaDawg