Anybody here know how to user data report in visual basic?..
im using data report and visual basic 6 for the reports.

my first problem i bind the rpttextbox to my database. and the first data it shows is ok. but in the second row is too far from first row. about an inche far.

my second problem. how to get the data in the form. and show it in the report
example. in my form1 theres a textbox. textbox1.. when i press the show button it will show the report with the value of the textbox1.

my code is not ryt it says datafield("EMPTY") not found

datareport.Sections("section2").Controls("ponum").Caption = " & ordernumbertext.Text & "

whats the code?