Hello,
I have a form name frmInvoice and sub form named frmInvoiceDtls. In frmInvoiceDtls I put the below formula
I want it to lookup up the subcontractor name displayed in frmInvoice in the table tblSubs and return the pay rate for that sub. However, I'm not even getting an Error on this formula - it's just blank. All other attempts returned Error.
Any ideas where I'm going wrong?
I have a form name frmInvoice and sub form named frmInvoiceDtls. In frmInvoiceDtls I put the below formula
Code:
=DLookUp("[DlyRate]","tblSubs","[SubName]='" & [Forms]![frmInvoice]![cboSub] & "'")
I want it to lookup up the subcontractor name displayed in frmInvoice in the table tblSubs and return the pay rate for that sub. However, I'm not even getting an Error on this formula - it's just blank. All other attempts returned Error.
Any ideas where I'm going wrong?