Are you using a form with a Private DS? If so there may be some SET setting that is different in the Default [command window] DS and the form's DS. See help on SET DATASSESSION to see all the SET commands that scope to a DS. Look at all the values of the SET commands in your default DS where everything is working. Then in your form subclass put these SET commands so they are the same. You will not really need to do all of the SET commands, but this may help get your forms and views working together.
Mark McCasland
Midlothian, TX USA