A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

auto complete subform



 
 
Thread Tools Display Modes
  #1  
Old December 29th, 2005, 03:58 PM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default auto complete subform

I am trying to create a customer subform with name, address, phone#, etc...
How do I work it so that when I type in the customers last name it will give
me a list of everyone with that last name (for example Smith) and click on
the one I want completeing all other fields like first name, address, city,
phone#?
  #2  
Old December 29th, 2005, 05:05 PM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default auto complete subform

Use a ComboBox with the Autoexpand property set to Yes. Use the
form/combobox in a query to pull the rest of the information after Update of
the combobox - event or macro.

"Accessabliy Challenged" wrote:

I am trying to create a customer subform with name, address, phone#, etc...
How do I work it so that when I type in the customers last name it will give
me a list of everyone with that last name (for example Smith) and click on
the one I want completeing all other fields like first name, address, city,
phone#?

  #3  
Old December 29th, 2005, 08:56 PM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default auto complete subform

Accessabliy,

Does your Customers table have a CustomerID field primary key, or
similar? Here's one idea... On the main form, put an unbound combobox,
which uses the Customers table as its Row Source. And set the Link
Master Fields property of the subform to the name of this combobox, and
the Link Child Fields property to the CustomerID field (or whatever it
is called). Then, all you need to do is select the customer from the
combobox (if the Auto Expand property is set to Yes, just typing the
beginning of the name will take you to that section of the list), and
the subform will automatically show the details for that customer.

--
Steve Schapel, Microsoft Access MVP


Accessabliy Challenged wrote:
I am trying to create a customer subform with name, address, phone#, etc...
How do I work it so that when I type in the customers last name it will give
me a list of everyone with that last name (for example Smith) and click on
the one I want completeing all other fields like first name, address, city,
phone#?

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Navigate from the subform record to view the complete order Barry McConomy General Discussion 1 August 20th, 2005 05:56 PM
Auto Complete name Eddie General Discussion 2 May 25th, 2005 10:41 PM
Auto Increment Number on Subform Irshad Alam Using Forms 1 September 25th, 2004 10:59 AM
dlookup miaplacidus Using Forms 9 August 5th, 2004 09:16 PM
Recordset in subform based on field in parent form Lyn General Discussion 15 June 14th, 2004 03:10 PM


All times are GMT +1. The time now is 12:08 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.