473,395 Members | 1,568 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Lookup existing values

I have a table with a particular field storing the names of authors.
When I enter a new record I'd like to have a list of the existing
entries come up from which one may choose. It is also important that
the user be able to enter a new author's name. Any list I've been able
to generate so far lists the contents of that field but shows every
record rather than just the unique names. In other words: If "Smith"
appears in that field for 12 of the records, I get "Smith" appearing in
12 lines of the list.

I know this may be done with a related table with the author's name
being unique in that table but is there a way around that without using
a Value List (which wouuld have to be manually updated)?

Any suggestions will be appreciated. Feel free to post and eMail me, as
well.

Thanks!

Barry

Oct 20 '06 #1
1 1284
"ex********@gmail.com" <ex********@gmail.comwrote in
news:11**********************@k70g2000cwa.googlegr oups.com:
I have a table with a particular field storing the names of
authors. When I enter a new record I'd like to have a list of
the existing entries come up from which one may choose. It is
also important that the user be able to enter a new author's
name. Any list I've been able to generate so far lists the
contents of that field but shows every record rather than just
the unique names. In other words: If "Smith" appears in that
field for 12 of the records, I get "Smith" appearing in 12
lines of the list.

I know this may be done with a related table with the author's
name being unique in that table but is there a way around that
without using a Value List (which wouuld have to be manually
updated)?

Any suggestions will be appreciated. Feel free to post and
eMail me, as well.

Thanks!

Barry
Create a query that shows just the authorName. set the Unique
Values property for the query to yes.
Use that query to drive the combobox that lists the authors.


--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Oct 20 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: s o | last post by:
Hi, I'm creating a xml schema for my existing database. I've about a dozen lookup tables, such as States, Unit of Measures, etc. I figured the most logical way to represent them is to create...
10
by: MJ | last post by:
How can you update a Lookup List after it is created. It is not tied to any table. I have tried adding the new data at the table level, but when I go to the Form to input, it isn't on the list. ...
3
by: google | last post by:
I have a database with four table. In one of the tables, I use about five lookup fields to get populate their dropdown list. I have read that lookup fields are really bad and may cause problems...
4
by: jon f kaminsky | last post by:
Hi- I've seen this problem discussed a jillion times but I cannot seem to implement any advice that makes it work. I am porting a large project from VB6 to .NET. The issue is using the combo box...
3
by: dbuchanan | last post by:
Hello, (Windows forms - SQL Server) I fill my datagrid with a stored procedure that includes relationships to lookup tables so that users can see the values of the combobox selections rather...
3
by: mkjets | last post by:
I have worked for hours on trying to find a solution and have not figured it out. I am working in Access 2003. I need to create a query that takes values from 1 table and displays them in...
3
by: john | last post by:
In my form (table A) I have subform (table B (only 2 fieds: ID and App_name) where table A -Table B are linked 1XM. To be able to add a record in the subform I want to use a lookup form since the...
11
by: Paul H | last post by:
Suppose I have a table called tblPeople and I want a field to illustrate whether each person prefers cats or dogs. I could do it one of three ways. 1. A plain text field Create a text field in...
2
by: ApexData | last post by:
How do I use a combo-box to do a lookup on my name table “T-NAME”, and then place the values found in the lookup table (ie LNAME, FNAME, MI) into to a row in my existing continuous forms table...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.