Ok, so your are talking about that.... I remember one of my first LS apps. before I dicover the FTSearch and the search methods ;-) I needed to found documents based in a criteria and put links in a folder. was something like this... ......... ' dim db, view and doc... set view = db.GetView("TheViewName") set doc = view.GetFirstDocument while not doc is nothing if doc.form(0) = "TheForm" then if doc.fieldA(0) = "Something" then if doc.fieldB(0) = 1 then val1 = doc.fieldC(0) val2 = doc.fieldD(0) if val1 <= val2 then if fieldF(0) = "Another Value" then ......... call doc.putinfolder("TheFolder", true) ......... end if end if end if end if end if set doc = view.getnextdocument(doc) wend At least...... Shame on me!!!!! ;-) Alex
|