![]() |
| ||
| help me pls~~ data report data section does not match data source With rptSalesEnquiryChecklist Set .DataSource = ar .DataMember = "" With .Sections("Section7").Controls For i = 1 To .Count If TypeOf .Item(i) Is RptTextBox Then Select Case .Item(i).Name Case "txtAddress" .Item(i).DataMember = "" .Item(i).DataField = ar.Fields("Address").Name Case "txtSupplier_Company_Name" .Item(i).DataMember = "" .Item(i).DataField = ar.Fields("Supplier_Company_Name").Name Case "txtSupplier_Name" .Item(i).DataMember = "" .Item(i).DataField = ar.Fields("Supplier_Name").Name Case "txtProduct" .Item(i).DataMember = "" .Item(i).DataField = ar.Fields("Product").Name Case "txtContact_No" .Item(i).DataMember = "" .Item(i).DataField = ar.Fields("Contact_No").Name End Select End If Next i End With End With [img] http://i48.photobucket.com/albums/f245/zykhoo/11.jpg [/img] why my data report will prompt out this msg box? the data report got subreport or not? |
| ||
| Re: help me pls~~ data report data section does not match data source Quote:
Quote:
set datareport.datasource= ar |
| ||
| Re: help me pls~~ data report data section does not match data source Hi, Do u have "Section7" yn ur datareport.. If u dont have any Groups and detail section must be "Section1" Regards Veena |
| All times are GMT -4. The time now is 10:15 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC