I have been making extensive use of DLookup in my programs running under Access. However I need to tranfer all my coding over to VB6 and when I run them, the first occurrence of DLookup causes the error... "Sub or Function not defined". Can anyone explain why this is the case? Also is there an alternative to DLookup for VB6 or how do I define it?