Hi,
I'm an Access97/2000 programmer but now I started to use
Access2002 for my Front-end using SQL2000 as Backend, I'm
having a problem on how to write a UserDefinedFunction
for SQL2000 that will work exactly as DLookUp
(<fldname>,<tablename>,<criteria>) Function of
Access97/2000 and must be able to used it in a Select
statement for SQL2000.
example:
SELECT Customers.strCustomerID, DlookUp
("CompanyName","Company","strCustomerID = '" &
Customers.strCustomerID & "'") as CompanyName FROM
Customers
Thanks,
Jeff