Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View based of tables from two different databases
Message
From
27/06/2001 01:50:49
 
 
To
27/06/2001 00:14:52
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00523961
Message ID:
00523993
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
>>Is view based on tables from separate DBCs is a bad idea in general?
>
>I don't know - I've never done it.

Hi,
a view or (a SELECT SQL) with more than one database works fine as long as you use complete naming for the table in FROM - JOIN clauses (DBCname!TableName).

SENDUPDATES will work as well.
The rules for view's properties are the same as if you have one DBC. ALLWAYS use "DBCname!TableName" for fieldnames and tables.

Finaly SET RELATION TO ,LOCATE, SEEK, SEEK() will all lead to the same result.
But this is the same as with one DBC.
For me, there is no general idea - it's by everybodys mind to use the one or the other way.

You need to find out what is fast - and what needs a minimum code to enter. ::)

Lutz
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform