B
Bryan Dickerson
This section of my code in one of my custom forms is getting a "Type
Mismatch" error, but the reason eludes me. Specifically, it's bombing on
the Split statement.
--------------------- Code --------------------
Dim sTemp
Dim sTextLines()
sTemp = Item.UserProperties("History Text").Value
sTemp = Replace(sTemp, CrLf, NullSt)
sTemp = Replace(sTemp, Cr, NullSt)
sTemp = Replace(sTemp, Lf, NullSt)
sTextLines = Split(sTemp, LnMrk)
-------------------- Code ---------------------
(CrLf, Cr, Lf & LnMrk are all declared as constants)
Any ideas why a Split statement would be causing a "Type Mismatch" error.
I've even stopped and stepped thru it to no avail. Any and all ideas are
welcomed.
TIA!
Bryan
Mismatch" error, but the reason eludes me. Specifically, it's bombing on
the Split statement.
--------------------- Code --------------------
Dim sTemp
Dim sTextLines()
sTemp = Item.UserProperties("History Text").Value
sTemp = Replace(sTemp, CrLf, NullSt)
sTemp = Replace(sTemp, Cr, NullSt)
sTemp = Replace(sTemp, Lf, NullSt)
sTextLines = Split(sTemp, LnMrk)
-------------------- Code ---------------------
(CrLf, Cr, Lf & LnMrk are all declared as constants)
Any ideas why a Split statement would be causing a "Type Mismatch" error.
I've even stopped and stepped thru it to no avail. Any and all ideas are
welcomed.
TIA!
Bryan