Nope. You'll need to
Open Data MyData
before running the DBSetProp() command. The confusion usually comes from the fact that the DataEnvironment will open a view without the database being set explicitly - but that's because the DBC is saved as part of the DataEnvironment information when you drag the view to it.
HTH
Barbara
>If I run DBSETPROP("intrancust", "view", "Tables", "inventory") somewhere in code, I get the error No Database Open or Set. However, the view intrancust is in my D.E. Doesn't that Open and Set the current database????
>
>Thanks
>JD