vivone25 Level: Trainee
 Registered: 26-05-2010 Posts: 2
|
Generating data report with text used from textbox
i am trying to generate a report by using a text in the textbox which gives me a value that i use in the WHERE clause of the query.
in order to generate a report based on the query i found this syntax
Set DataReport1.DataSource = stdrs
DataReport1.Sections("Section1") .Controls (1) .DataField = stdrs.Fields(0) .Name
Can any one explain what each of these object properties relate to?
In my datareport i have a label in the Details section where i need to print a column named Lot from my Access database.So how should i use this syntax for it?
i have given the image of he code too.
|
|