A couple of issues with the DLookup syntax:
- The field you are looking up and the table name both need to appear in quotes.
- The textbox you are using needs to be concatenated to the Where clause.
- Since this is a control source property (not VBA), "Me." is not recognized and should be omitted
Assuming text cardcode:
=DLookUp("CardName", "dbo_ocrd","CardCode = '" & [Text0] & "'")
Assuming numeric:
=DLookUp("CardName", "dbo_ocrd","CardCode = " & [Text0] )