JLWade
Computer
- Nov 16, 2002
- 3
Ok, I have gotten to the point in my VB programming where I want to start wasting paper to kill more trees, and the only way I know how to do this is by printing reports.
In visual basic there seems to be only 2 ways (without buying add ons). Either use the printer object, (in which case you have total control and can do whatever) or use Data Reports (which are easy to make nice and pretty but, how do you let the user specify selection parameters at runtime?)
Ok so I am using data reports. The problem is, how am i supposed to allow the user to specify selection parameters at runtime? ( Such as a date range to report). The only thing (short of copying the database and deleting the data i want to filter out) I have been able to figure out is to use a form or inputbox to get parameter values from the user and then modify the contents of
DataEnvironment1.rsCommand1.Source which has a shape definition. (This does work)
I am thinking there must be an easier way. If you know of an easier way or of cheap active X component I could get for doing reports please let me know.
In visual basic there seems to be only 2 ways (without buying add ons). Either use the printer object, (in which case you have total control and can do whatever) or use Data Reports (which are easy to make nice and pretty but, how do you let the user specify selection parameters at runtime?)
Ok so I am using data reports. The problem is, how am i supposed to allow the user to specify selection parameters at runtime? ( Such as a date range to report). The only thing (short of copying the database and deleting the data i want to filter out) I have been able to figure out is to use a form or inputbox to get parameter values from the user and then modify the contents of
DataEnvironment1.rsCommand1.Source which has a shape definition. (This does work)
I am thinking there must be an easier way. If you know of an easier way or of cheap active X component I could get for doing reports please let me know.