>You know, all this time the discussion went around other tools, I kept imagining myself using them... and using VFP to generate the code which is too long to code by hand every time :).
VFP is great for generating code because of it's great string-handling capabilities. I have created several VFP utilities to generate both C# and T-SQL code.