Hi, I'm trying to change fields in my table that have back slashes so that the backslash and everything after it are deleted. Ex. Coronary Artery Disease/Hypertension/Treatment would be changed to simply Coronary Artery Disease.
I have used the following code successfully in a little SQL Tester program, but when I put it in my VB application, it returns a type mismatch error (runtime 13).
I am using Microsoft Jet 4.0. Any advice? Thanks.
"UPDATE Mesh Set Meshterm = LEFT(Meshterm, InStr(Meshterm, " / "-1)WHERE Instr(meshterm, " / ">0"
I have used the following code successfully in a little SQL Tester program, but when I put it in my VB application, it returns a type mismatch error (runtime 13).
I am using Microsoft Jet 4.0. Any advice? Thanks.
"UPDATE Mesh Set Meshterm = LEFT(Meshterm, InStr(Meshterm, " / "-1)WHERE Instr(meshterm, " / ">0"