E eme126 Registered User. Local time Today, 11:34 Joined Jun 2, 2006 Messages 45 Jul 27, 2006 #1 For some reason it does not like the percent sign: oSQL = "SELECT*" FROM TableInfo WHERE Caption Like "' & strTarget & "%'" oResults = oSQL.Execute Any ideas...
For some reason it does not like the percent sign: oSQL = "SELECT*" FROM TableInfo WHERE Caption Like "' & strTarget & "%'" oResults = oSQL.Execute Any ideas...
Matt Greatorex Registered User. Local time Today, 14:34 Joined Jun 22, 2005 Messages 1,019 Jul 27, 2006 #2 Just a few observations. There are no spaces between SELECT and *. The second and third lines don't appear to be connected to the first. You can probably rewrite the 'Like...%' part, to use the INSTR() function.
Just a few observations. There are no spaces between SELECT and *. The second and third lines don't appear to be connected to the first. You can probably rewrite the 'Like...%' part, to use the INSTR() function.