>> The only problem I can see in generating a view from code is that in Visual Fox Express I can't see the view parameters in the DBC. (I can see them when I identify them in the view designer.) So far that has not been a problem.
You have to issue a DBSETPROP("ParameterList", ...) to define the parameters. If you've run GENDBC or GENDBCX on some of your existing views you can look at the output from it for an example.