R
Ross Contino
Howdy:
I am an experienced VB 6.0 database programmer trying to write first VS 2005
application in VB 2005. I want to create an end user defined query and pass
it to the program. Specifically, I want to pass a date range, ie:
SELECT * FROM MYDATES WHERE ((theDate) Between #8/1/2006# And #8/7/2006#);
However, the user wants to enter the date range on his own. In the past I
would generate the SQL on the fly and pass it to a datacontrol as the
datasource. Now it seems Queries are made with the Query Builder and stored
in "WhateverDataSet.xsd" file.
How do I retrieve the current "Text" that defineds the query at runtime,
change it, and refresh it to display a new date range?
Eventually, I want to pass this same range to a report. Is that possible?
Thanks,
Ross
I am an experienced VB 6.0 database programmer trying to write first VS 2005
application in VB 2005. I want to create an end user defined query and pass
it to the program. Specifically, I want to pass a date range, ie:
SELECT * FROM MYDATES WHERE ((theDate) Between #8/1/2006# And #8/7/2006#);
However, the user wants to enter the date range on his own. In the past I
would generate the SQL on the fly and pass it to a datacontrol as the
datasource. Now it seems Queries are made with the Query Builder and stored
in "WhateverDataSet.xsd" file.
How do I retrieve the current "Text" that defineds the query at runtime,
change it, and refresh it to display a new date range?
Eventually, I want to pass this same range to a report. Is that possible?
Thanks,
Ross