This happens to me all the time as well...since a DataEnvironment is custom to each form and the BeforeOpenTables event of a form is where I like to put my SETS, I sometimes forget. Like David points out, a Private DataSession form needs it's own SETS.
>
>This usually points me to a missed ::/DoDefault() call in the _some_ forms that don't work. You might also verify the DataSession setting.
>
>> Am getting form echo's in _some_ forms (same base class) so stepped through the function, and, to my surprise, SET CONSOLE and SET ECHO have no effect. Have reread docs, and I don't find anything that comes close, except a reference to errors turning SET CONSOLE ON.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05