BitCounter
Programmer
I have a report created and in my program I am allowing the user to select a record for printing based on student ID. Therefore my DataMember property is an SQL statement that contains a variable representing the ID. It is as follows:<br><br>With DataReport2<br> .DataMember = "SELECT * From [Information Sheet] WHERE LRID = '" & varID & "'"<br><br>This works okay, but whenever I pull the report up, <b> nothing prints </b> in the detail section of the report. <b><font color=red>Not even labels! </font></b> I have attempted to set the DataMember property of each object within the report but that fails as well. <b><i>(I get an error message stating "Object required"</b></i> How do I build a report based on dynamic variables? Any help would be greatly appreciated!<br>