If you define a query in Microsoft Access,
For instance,
SELECT * FROM T_Employees t WHERE t.LastName=[LastName]
a popup dialog will display asking you to enter a value for LastName
. LastName
a named parameter.
Now from here one can also create a view
CREATE VIEW paramTest AS SELECT * FROM T_Employees t WHERE t.LastName=[LastName]
But when calling this view in another query, the parameter is ignored....
So how does one call the view created above from another query and specify the value of the named parameter within that view? (preferably without VBA, I'm trying to use it to write a query involving a view in SQuirreL SQL).