If you look at the DataEnvironment attachment in the link with that code you will see "Command1 grouped using Command1_Grouping". Go to the properties, you'll see the SQL has 2 "?". Select the Parameters tab. The first "?" is "param1" and the second is "param2"




Reply With Quote