Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Trying to get this code to work

Author  Topic 

jonwentz
Starting Member

4 Posts

Posted - 2006-05-16 : 09:40:15
Hi All,

I have been trying for some time to get this code to work in an ADP, it works just fine in an MDB. It has me stumped. I have tried it as a View, SP, Function. I have tried to change the wildcard from * to %, but it still will not work.

Like "*" & [Forms]![Searchform]![Searchtext] & "*"

I am trying to use a from to provide my query data.

Thanks in Advance
Jon

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2006-05-16 : 09:42:37
what's an adp?

--------------------
keeping it simple...
Go to Top of Page

jonwentz
Starting Member

4 Posts

Posted - 2006-05-16 : 09:44:33
its an Access Data Project
Go to Top of Page

nr
SQLTeam MVY

12543 Posts

Posted - 2006-05-16 : 09:57:46
DO you mean you are trying to copy that code to run it in sql server?
SQL server won't know about [Forms]![Searchform]![Searchtext] - that's a cl;ient object (access is a client and database).
You need to pass that as a parameter to a storted proc.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

jonwentz
Starting Member

4 Posts

Posted - 2006-05-16 : 09:59:15
nr,

could you give me a pointer in what direction i need to start

thanks
Go to Top of Page
   

- Advertisement -