Custom Function
From: Mike (anonymous_at_discussions.microsoft.com)
Date: 03/03/04
- Next message: Koklico: "layout of output"
- Previous message: Michel Walsh: "Re: Error when running qry!"
- Next in thread: Michel Walsh: "Re: Custom Function"
- Reply: Michel Walsh: "Re: Custom Function"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 3 Mar 2004 03:59:21 -0800
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)
- Next message: Koklico: "layout of output"
- Previous message: Michel Walsh: "Re: Error when running qry!"
- Next in thread: Michel Walsh: "Re: Custom Function"
- Reply: Michel Walsh: "Re: Custom Function"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|