I am in the process of converting a large Access 2000 based application to Access 2002 and .adp file format. I've noticed that in .adp local queries have been replaced by views and stored procedures. I'll admit views are better for returning data from the SQL server but many of my forms rely on queries which run on parameters from other forms. A view will not understand a where clause which gets criteria from other forms. Does anyone know of a way to create a traditional query in a .adp file? Here is an example of the kind of SQL statement I am talking about.
Any suggestions are appreciated. Thanks,
Ryan
Code:
SELECT School_LKP.SchoolName FROM School_LKP WHERE (((School_LKP.Accredited)=Abs(Forms!AddSchool_subform!radAccredited)) And ((School_LKP.ForeignSchool)=Abs(Forms!AddSchool_subform!radforeign))) ORDER BY School_LKP.SchoolName;
Ryan