Db.search ignorance

Trying to gather a document collection of docs with similar form names (Any that start with TempDoc) - want to use pattern matching against the Form field of documents

Have tried using * wildcard as below and also @Like - cant get it to work.

Set TEMPDOCs = CurDB.Search(“Form = ““TempDoc*”””, Nothing, 0)

I think this is easy but I can’t find an example in the help???

Subject: db.search ignorance

Set TEMPDOCs = CurDB.Search(“@Left(Form;7) = ““TempDoc”””, Nothing, 0)

Subject: RE: db.search ignorance

Thanks Andrei - that worked great