The DLookup function retrieves a value. You can create a variable in VBA and use the variable to store values. Here is an example of a long integer variable
Dim lngCount as long
Now that you have a bucket to collect what the DLookUp returns, you can put that in front of your expresion and create a statement.
lngCount = DLookUp("SAMPLE_QTY","AQL","LOT_QTY"=[Forms]![QC_FORM]![QTY_RCV])
You could put it all together in an after update event that would assign the value to a control or a field in a table.
Code:
Dim lngCount as long
lngCount = DLookUp("SAMPLE_QTY","AQL","LOT_QTY"=[Forms]![QC_FORM]![QTY_RCV])
Me.ControlName = lngCount
This is assuming that the data type for SAMPLE_QTY will fit into a long integer variable.