Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View Designer Question ( AND OR combo)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00742533
Message ID:
00742564
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
Tommy,

The View designer for VFP7 and earlier is brain dead when it comes to complex views, so it can't create the view you are wanting.

What Esparta was telling you though is that you can use a CREATE SQL VIEW command to write your complex view into the DBC and then it'll be available for use.

You can open the view designer to grab the code from your existing view and then move that to a PRG that you will use to edit the view definition from now on.

>Yeah, but the old code I have here has a Remote View and I wanted to add some more conditions to it to cut back on the data being brought over from the Server.... the addition to it would be the .... AND ( B OR C ) part... and I am not sure how to get the View Designer to create the parenthesis.....

>
>>You can do it programaticaly:
>>
>>
>>CREATE SQL VIEW AS ;
>>    SELECT * FROM myData ;
>>       WHERE condition_A AND ....
>>
>>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform