why the insert stmt doesn't work

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
My insert statement doesn't work with the where clause in Access 2003. it
works fine if I remove the where clause. Can somebody please explain the
problem. thanks
Kanan
cn.Execute "INSERT INTO temp_Data SELECT master_Data.* FROM Master_Data
WHERE master_Data.CourseTitle Like '*mutipli*patterns*';"
 
Kanan said:
Hi,
My insert statement doesn't work with the where clause in Access
2003. it works fine if I remove the where clause. Can somebody
please explain the problem. thanks
Kanan
cn.Execute "INSERT INTO temp_Data SELECT master_Data.* FROM
Master_Data WHERE master_Data.CourseTitle Like
'*mutipli*patterns*';"

If you're using ADO, the wildcard is % not *
 
It looks like 'mutipli" is misspelled.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top