General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Hello,
in VFP7 and VFP6 this works nicely and is the most powerfull.
CREATE SQL VIEW "VIEW_DYNAMIC" AS ;
SELECT theFields FROM yourTable WHERE &?p_YourWhereClause
(execute in Command Window)
you then can at runtime specify the whole whereclause in the variable p_yourwhereclause
e.g.
USE view_dynamic IN 0 NODATA
p_yourwhereclause = "field1 IN (12,23,34,45,47,46)"
REQUERY('view_dynamic')
the worse thing is that it only works with nonremote views
and in VFP8 it seems to be non workable at all ..
Regards
Christian
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only