If it's only for testing if a record exists in a table, you don't need to use DLookup, you can use DCount:
Code:
If DCount("intTransactionID", "tblAllocations", "intTransactionID = " & Forms!frmTransactions!idsTransactionID) <> 0 Then
This frees you from having to care for Null values, which is what DLookup will return when no row matches the criteria. Your test should be:
Code:
If Not IsNull(DLookup("intTransactionID", "tblAllocations", "intTransactionID = " & Forms!frmTransactions!idsTransactionID)) Then