> See my last reply to Fred about lcWhere. I'm in a hole here :(
Seeing some of your code that constructs the WHERE clause doesn't help me at all. It would help if you DEBUGOUT lcWhere just before the statement runs, and show me the actual contents of the variable instead of making me guess what your code might have put in there.
Erik Moore
Clientelligence