: Can some Guru help. I am using the parameters in SQL and TQuery to
: retrieve only some records, but need to "switch the parameter off on
: menu command to allow all records to be sourced.
: Is there a way to set the SQL dynamic parameter (in this case .asstring)
: to a null value to allow all records to be retrived by the SQL
:
Use the Clear Method for the Params Preperty...
Query.Params[1].Clear;
That will set Params[1] to Null...
-David
--
________________________________________________________________________
_/ _/ _/
_/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ David L. McWhirter
_/_/_/ _/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ Lake Forest, CA