There are a lot of ways to do this. The easiest would probably be to use
the DLookup function.
http://office.microsoft.com/en-us/access-help/dlookup-function-HA001228825.aspx
Matt Harris
matt_j_harris@yahoo.com
ICQ: 1656005
www.launchpadzero.net
On 12/13/2012 7:27 PM, The Math Doctor wrote:
> I am trying to write a VBA function which takes in a number (referencing a record's primary key) and returns a specific field in it.
>
> I'm sure this will be trivial to most of you, but I'm very new to Access VBA.
>
> Thanks.
>
> Evan
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
[Non-text portions of this message have been removed]
__._,_.___
Reply via web post | Reply to sender | Reply to group | Start a New Topic | Messages in this topic (5) |
.
__,_._,___
Nenhum comentário:
Postar um comentário