Private Sub Command12_Click()
DataEnvironment2.Command1_Grouping Text1, Text2
DataReport1.Show
End Sub
at datareport1;
there are 2 parameters, Text1 and Text2 for this query
SELECT BSC_ADMIN.* FROM BSC_ADMIN WHERE BSC_MONTH=? AND BSC_YEAR=?
the error is "Report Section Do not match data source"
data source has been set to dataenvironment2 and the datamember=command1_grouping coz i'm using grouping at this report..
someone please help me..tq
its ok nobody wan to help me..however i got de solution last night..heheh
other problem juz to group by category all details according to the month and year above..maybe its somethin related with child command..
i've try with add all the field except month n year (coz its in command1_grouping)and GROUP BY CATEGORY
SELECT P,O,I GROUP BY CATEGORY
but still no output in the report..it juz display month n year label..not even the passing parameter
24-02-2005 at 07:29 AM
|
Goran Level: Moderator Registered: 16-05-2002 Posts: 1681
Re: how to manage a report from 2 textbox
It is not the issue here that nobody wants to help, it is just thay probably most of us dpnt use data report, but more proffesonal 3d party objects, like crystal reports, for instance..
____________________________
If you find the answer helpful, please mark this topic as solved.