S
Stewart Hunt
I'm not real familiar with filters, so maybe this is a dumb question...
our app has following:
set dbase=wkspace.opendatebase(userfile)
and about a thousand queries like this:
set rsMyrecordset = dbase.openrecordset("select * from mytable")
(well maybe not a thousand, but a lot)
we are modifying app, introducing a [Year] field into [mytable]. and all
the existing queries need to be tweaked to consider this new field. the
user selects the year from a dropdown, and all the queries need to select
only records for the user-specified year.
so, question is, instead of going thru code, tweaking each query, can I
define a filter on the table, so that the queries can be left as-is, but the
recordset will now be year-sensitive ?
Thanks !
our app has following:
set dbase=wkspace.opendatebase(userfile)
and about a thousand queries like this:
set rsMyrecordset = dbase.openrecordset("select * from mytable")
(well maybe not a thousand, but a lot)
we are modifying app, introducing a [Year] field into [mytable]. and all
the existing queries need to be tweaked to consider this new field. the
user selects the year from a dropdown, and all the queries need to select
only records for the user-specified year.
so, question is, instead of going thru code, tweaking each query, can I
define a filter on the table, so that the queries can be left as-is, but the
recordset will now be year-sensitive ?
Thanks !