I would use DAO to open a recordset and retrieve the data I wanted to store the data in variables.
Here is an example that retrieves a variable and stores it in a string.
Code:
Dim strBill As String
Dim dbs As DAO.Database
Dim rst As DAO.Recordset
Set dbs = CurrentDb
Set rst = dbs.OpenRecordset("SELECT BOL.Bill_of_Lading_Number, BOL.Job_Number FROM BOL WHERE BOL.Job_Number = " & Application.TempVars("varsJobCont").Value)
If rst.EOF = False Then
strBill = rst![Bill_of_Lading_Number]
End If
rst.Close
Set rst = Nothing
Set dbs = Nothing
You could run this code in the Report's load event or somewhere else, like a form that opens the report. The idea is you store the data in a variable. The variable could be declared as globally available or it could be private to the report. You can also pass data to the report using open args in a Docmd.Openreport statement.
Once the report starts to open, the On Format event for the proper section in your report will grab the available variable and assign the value to your unbound control.