Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
UPDATE Table1 SET Table1.myField = replace([myfield],"/b","")
WHERE ((InStr([myField],"/b")>0));
Public Function SerialParse(myField as Variant, ParamArray ParseMe()) as String
dim newString as String
'Here I want to say:
'"For each myField, Replace anything in ParseMe with ""
Public Function SerialParse(ByVal myField As String, ParamArray myArgs() As Variant) As String
Dim newValue As String
Dim x As Variant
newValue = myField
For Each x In myArgs
newValue = Replace(newValue, x, "")
Next x
SerialParse = Trim(newValue)
End Function
SELECT t.MHSERIALNM
, SerialParse(t.[MHSERIALNM], "A/B", "A/", "/B", "A/") as myParsed
FROM tblTable as t
This serial number field, [MHSERIALNM], could have a combination of A/B, A/, B/A.