>.vfp.docmd(lcCommand)
I think that's the long way round, if it's a single line of code then you're using OLE to _VFP to do a single command that you could execute with &lcCommand anyway.
Does .DoCmd() accept a code block? I get "OLE IDispatch exception code 0 from Visual Foxpro for Windows: 95: Statement is not allowed in interactive mode."