Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a view challenge
Message
From
28/03/2003 19:57:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Creating a view challenge
Miscellaneous
Thread ID:
00771642
Message ID:
00771642
Views:
32
I want to create a view in a database without selecting the database. I tried:
create view newview database tempdata as select * from tempdata!sometable where .t.
* and also
create view newview as select * from tempdata!sometable where .t. database tempdata
I know that you can do:
set data to temp
create view newview as select * from tempdata!sometable where .t.
I just like more compact code when possible. It seems like we ought to be able to create a view into a specific database without selecting the database after all we select into a database without having it selected.

However, I think it can't be done. Anyone able to refute this?
Carole Shaw
Fred Hutchinson Cancer Research Center

Eagles may soar, but weasels don't get sucked into jet engines.
Next
Reply
Map
View

Click here to load this message in the networking platform