By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,021 Members | 912 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,021 IT Pros & Developers. It's quick & easy.

Search Criteria for Windows Programming

P: n/a
Hi,

I try to perform a search with the search method of the application
object:

"Set FolderObj = VhlApplObj.Search(ItemTypeName, Criteria, True,
OLEAPI_DOCS_AND_FLDRS, OLEAPI_ALL_STATUS, Null, Null)"

The Parameters:

ItemTypeName = "*NOINDEX" (* because of different
languages on server and client)
Criteria = "@*SOURCE LIKE ""IMPO%""" (* because of different
languages on server and client)
OLEAPI_DOCS_AND_FLDRS = 113
OLEAPI_ALL_STATUS = 0

I get the ReturnCode 5020 which means "Illegal token encounters in the
query string".

What can I do?

Thanks for your help.
Thomas.
Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.