Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View exists?
Message
From
19/10/1998 10:46:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
View exists?
Miscellaneous
Thread ID:
00148104
Message ID:
00148104
Views:
54
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
Next
Reply
Map
View

Click here to load this message in the networking platform