Article ID: 136940
Article Last Modified on 2/15/2000
CREATE SQL VIEW viewname AS SELECT * FROM tablename;
WHERE field1 = ?param1
-or-
CREATE SQL VIEW viewname AS SELECT * FROM tablename;
WHERE ?param1 = view1
In both cases, when the VIEWNAME view is opened, the user is prompted for a
value for PARAM1, which is then used in the WHERE clause.
CREATE SQL VIEW viewname AS SELECT * FROM tablename;
WHERE ?fieldparam = ?param1
Although this is a valid view, the effect is to compare the value entered
for ?FIELDPARAM with that entered for PARAM1 for all records. The macro
substitution does not occur.
Additional query words: VFoxWin question mark parameterized view database
Keywords: KB136940