Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View exists?
Message
De
19/10/1998 10:46:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
View exists?
Divers
Thread ID:
00148104
Message ID:
00148104
Vues:
55
I would like to know by programm if a view exists before I create it.
Besides, I want to do a form upon a changing parametrized view. The idea is for the "look for button". Each time a user change the criteria fields, I need to create the view.
For example,
1st step
create sql view vistaejemplo as select * from ejemplo
2nd step
create sql view vistaejemplo as select a.* from ejemplo a;
where a.id=m.userid
3nd step
create sql view vistaejemplo as select a.* from ejemplo a;
where a.nombre=m.usernombre and a.apellido=m.userapellido

Other way to do it, is changing the sql property, by it is only read.

Gracias colegas.
Nacho
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform