>I've got a VPF 5.0 form that opens a view in a private data session (set in the property). It works fine from the Run menu, but when I run it from inside the App, it crashes. It looks like when in the app, the tables are opened in the default session and my private session is left empty (app crashes, saying alias not found). I'm not doing anything special in the the app except calling the form from a menu. Any ideas?
One mistake I have made is having the table opened exclusively in the default session during development. I test run the form, and it crashes because the table can not be opened again in the private DS.
Also if the table has a long name defined in the DBC, the DB has to be open and you need to qualify the command with
use mydb!mytable.
If none of this works, tell us where the tables are opened in the form, the DE?, manually in the Load event? etc.
Mark McCasland
Midlothian, TX USA