Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi all! I cant solve very simple task. All I need is a query "SELECT * FROM Table WHERE Field LIKE '*value*'" But it seems Microsoft is too huge company to let me just do that like in PHP. Im using DAO because hope it will work more often then ADO now do :) 1) DAO worked ONLY whith syntax [TableName$] but most of examples not using it. 2) I have working query Sql = "SELECT * FROM [TestList$]" Set rs = db.OpenRecordset(Sql) 3) But cant make work WHERE clause like this: "SELECT * FROM [TestList$] WHERE A LIKE 'asdas'" It gives me Run-Time 3061. In the internet I read about some _parameters_ in query. Anybody can tell me which more PARAMETERS wants from me crazy excel programmres? Or just wrong syntax? Please help. -- VladimirM ------------------------------------------------------------------------ VladimirM's Profile: http://www.excelforum.com/member.php...o&userid=24993 View this thread: http://www.excelforum.com/showthread...hreadid=385216 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I need help with a formula PLEASE I am going crazy | Excel Discussion (Misc queries) | |||
Crazy If | Excel Worksheet Functions | |||
I'm going crazy here | Excel Discussion (Misc queries) | |||
Help I am going crazy with this formula. | Excel Worksheet Functions | |||
This is crazy!!! | Excel Discussion (Misc queries) |