Not sure I understand your scenario. You'll first want to add a separate datepicker to your form and then write some code to change the queryadapter command to specify the date window.
The SDK has a good example of Data Interop which shows how to programmatically set the command property.
good luck!
Patrick Halstead
Project Manager at Qdabra