PC Review


Reply
Thread Tools Rate Thread

Auto Complete field

 
 
StevePlym
Guest
Posts: n/a
 
      24th Feb 2010
I am using Access 2010 and I have a datasheet which records Invoice data:

Invoice number
Client ID
Client surname
Invoice date
Invoice amount
Date paid

Invoice number is the primary key and the table is linked to the Client
datasheet.

I would like to be able to enter the Client ID in the Invoice Datasheet and
have Access auto complete the Client surname field. Is that possible? Would
I need to build an expression or is there something in Design that can be
used?

All help appreciated.


Steve


 
Reply With Quote
 
 
 
 
John W. Vinson
Guest
Posts: n/a
 
      24th Feb 2010
On Wed, 24 Feb 2010 01:35:53 -0000, "StevePlym" <(E-Mail Removed)> wrote:

>I am using Access 2010 and I have a datasheet which records Invoice data:
>
>Invoice number
>Client ID
>Client surname
>Invoice date
>Invoice amount
>Date paid
>
>Invoice number is the primary key and the table is linked to the Client
>datasheet.
>
>I would like to be able to enter the Client ID in the Invoice Datasheet and
>have Access auto complete the Client surname field. Is that possible? Would
>I need to build an expression or is there something in Design that can be
>used?


The client surname should NOT EXIST in the Invoice table.

An invoice doesn't have a Surname as an attribute. Sure, a client does; but
you can *link to* the Client table, by the ClientID, to find it!

If you're interacting with data using a table datasheet... well, don't; that's
not what tables are for. They're to store data! You can instead use a Form;
this could (among other possibilities) have a Combo Box bound to (and storing)
the ClientID while displaying the client's surname, or (if you prefer) full
name. There is no need and no benefit to storing the surname redundantly.

--

John W. Vinson [MVP]
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto complete a field with a value from another table =?Utf-8?B?QWRyaWFuIEI=?= Microsoft Access Database Table Design 2 25th Oct 2007 01:54 PM
Auto Complete in To Field Boris Windows Vista Mail 1 9th Oct 2007 05:47 AM
auto complete To field with LDAP =?Utf-8?B?cmljaw==?= Microsoft Outlook Contacts 7 14th Aug 2006 09:31 PM
How do I auto complete a field in Access relating to another field =?Utf-8?B?QW5uZSBCb3ljZQ==?= Microsoft Access 3 19th Aug 2005 04:51 PM
auto complete in TO field Keith Teicher Microsoft Outlook Discussion 1 21st May 2004 06:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:03 PM.