Hi,
Standard no such configuration setting if you want to select data from primary or secondary DB based on input date range.
However if your program is customized, you can programmed the SQL selection code to connect to the database dynamically based on the date selection criteria.
Regards.
YS