Hello,
I have a database field containing text that is split using the "Horizontal tab" character, i.e. ASCII code 9 (vbTab).
My Crystal Formula (Basic syntax) needs to detect this using InStr but this does not appear to find it.
e.g. using
Does not find it.
I have also tried using binary search (i.e. last parameter as a 0), or searching for CStr(Chr(9)) to no avail.
Does anyone have any suggestions how I can get this to work?
Thanks
Liam
I have a database field containing text that is split using the "Horizontal tab" character, i.e. ASCII code 9 (vbTab).
My Crystal Formula (Basic syntax) needs to detect this using InStr but this does not appear to find it.
e.g. using
Code:
iChar = InStr(iStartChar, strToSearch, Chr(9), 1)
I have also tried using binary search (i.e. last parameter as a 0), or searching for CStr(Chr(9)) to no avail.
Does anyone have any suggestions how I can get this to work?
Thanks
Liam