Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Wildcard character with Select Statement
What is wrong with my snytax? I've created a macro to
retrieve info from an Access table. Here is the query passed to the connection object: strSQL = "SELECT value FROM " & strTable & " WHERE PageRef LIKE '??10'" |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Wildcard character with Select Statement
Your SQL statement works for me as printed (I created a database to test
it). What is the exact error message you are getting? strSQL = "SELECT Value FROM " & strTable & _ " WHERE PageRef LIKE '??10'" Shockley "Mike" wrote in message ... What is wrong with my snytax? I've created a macro to retrieve info from an Access table. Here is the query passed to the connection object: strSQL = "SELECT value FROM " & strTable & " WHERE PageRef LIKE '??10'" |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Wildcard character in an "If" statement? | Excel Worksheet Functions | |||
USE A WILDCARD CHARACTER IN A FORMULA | Excel Worksheet Functions | |||
Wildcard character | Excel Discussion (Misc queries) | |||
Wildcard Character | Excel Worksheet Functions | |||
wildcard character replacement help | Excel Programming |