I tried to make report using Datareport in VB. For this purpose I use dataenvironment|Connection1|command1 as datasource.
To get the specific record I used the following statement on the SQL Statement on Command1 properties.

SELECT * FROM expatdata WHERE firsname = '" & documentstatus.text.text1 & "'

This statement I used to get record where firstname same with firstname on the documentstaus Form. But this statement just gave me the blank report.

Anyone can help me?