Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Posted: 26 Feb 2008 at 12:36pm
The property that you need to look for/set is CommandText. This allows you to set the SQL query that the report runs.
I suggest setting up a report template that already has a "dummy" command in it. You can then access that command by name to set the SQL rather than having to create a new one on the fly.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum