ChuckCasey
MIS
DLookUp("[user_defined_field]","sqluser_user_def_fields_MS"," [account_number] = form![member_acct_no] & [sequence_no] = 10")
I'm trying to do a lookup of a user_defined_field in a table that has the same account number as entered on my form and a sequence number of 10. Can someone help me with the syntax? If I remove the sequence number part of the equation, I get the user_defined_field of the first record, so I think my statement works up to that point. I just can't figure out how to incorporate the sequence number. Many thanks.
I'm trying to do a lookup of a user_defined_field in a table that has the same account number as entered on my form and a sequence number of 10. Can someone help me with the syntax? If I remove the sequence number part of the equation, I get the user_defined_field of the first record, so I think my statement works up to that point. I just can't figure out how to incorporate the sequence number. Many thanks.