M
Mike
Please, give me a hint on why the following custom
function does not work:
Option Compare Database
Function BranchName(ID)
BranchName = DLookup_
("[BranchName]", "Branches", "[BranchID]=ID")
End Function
The purpose of the function is to retrieve the full name
of a company branch from "Branches" table.
"Branches" table has 2 columns: [BranchID](text field),
[BranchName](text field)
function does not work:
Option Compare Database
Function BranchName(ID)
BranchName = DLookup_
("[BranchName]", "Branches", "[BranchID]=ID")
End Function
The purpose of the function is to retrieve the full name
of a company branch from "Branches" table.
"Branches" table has 2 columns: [BranchID](text field),
[BranchName](text field)