W
Wendy Parry
Why is DLookup so unpredictable? I have the following:
=DLookUp("PName","qryCurrentPupils","PU_SEQ='" &
Forms!frmTutorReport!PU_SEQ & "'")
which I copied from another form and just changed the form reference, I
know it works with a 'xxxx' value as I've tried that, its the control
reference that doesn't seem to work and I can't see why.
thanks for spotting an obvious error if someone sees it - is there a
better more reliable way to do this other than DLOOKUP?
Cheers
Wendy
=DLookUp("PName","qryCurrentPupils","PU_SEQ='" &
Forms!frmTutorReport!PU_SEQ & "'")
which I copied from another form and just changed the form reference, I
know it works with a 'xxxx' value as I've tried that, its the control
reference that doesn't seem to work and I can't see why.
thanks for spotting an obvious error if someone sees it - is there a
better more reliable way to do this other than DLOOKUP?
Cheers
Wendy