473,396 Members | 1,923 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,396 software developers and data experts.

Lookups - What's Best...In a Table or on a Form?

Question#1:
Many of my forms have combo boxes (e.g. CustomerID). The combo box
looks up CustomerName from CustomerID in the Customer table. Am I
better off including CustomerName in my query (which the form depends
on)and have the combo box based on CustomerName or is it better to
limit the query fields by using just CustomerID? I'm guessing that
keeping queries to a minimum will impact the speed in which queries
take place.

Questions#2
Is it better to design the lookup on the form or originate it from the
table?

Thanks
Nov 12 '05 #1
1 1038
I think I can answer the second question. It appears to be better
originating lookups from the form.
As for the first question. The PK used as a combo box lookup works
fine for selecting a record but not changing one as you end up trying
to change the PK.
co*****@sympatico.ca (Colin) wrote in message news:<65**************************@posting.google. com>...
Question#1:
Many of my forms have combo boxes (e.g. CustomerID). The combo box
looks up CustomerName from CustomerID in the Customer table. Am I
better off including CustomerName in my query (which the form depends
on)and have the combo box based on CustomerName or is it better to
limit the query fields by using just CustomerID? I'm guessing that
keeping queries to a minimum will impact the speed in which queries
take place.

Questions#2
Is it better to design the lookup on the form or originate it from the
table?

Thanks

Nov 12 '05 #2

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

Similar topics

2
by: Marc | last post by:
I'm back in the Access development mode and seem to have forgotten how to do 2 things that should be simple. I have a database with a table of contacts, companies and activities. The idea is that...
8
by: Rob Mazur | last post by:
Hi. I'm trying to create a query that pulls information from 3 seperate tables. Here's how I want it to work: User is prompted for SSN Table 1: SSN Name Gender
1
by: Colin | last post by:
Question#1: Many of my forms have combo boxes (e.g. CustomerID). The combo box looks up CustomerName from CustomerID in the Customer table. Am I better off including CustomerName in my query...
5
by: Don Sealer | last post by:
I'm beginning to understand a little about lookups, but just a little. Here's another question I'm wondering about. I want to input a part# and then input a department code (G,D,B) and depending...
1
by: Russell | last post by:
Hi, I've been reading a lot about not using lookups in tables lately. Thus far, what I've been able to understand from my reading is this: - Do not use lookup fields in tables because they...
5
by: AnAnimal | last post by:
We are moving a rather large application to the VB.NET platform. This application has a ton of table lookups. ie. code & description or code, category & description or code, class, category &...
3
by: Rich Shepard | last post by:
I need to learn how to process a byte stream from a form reader where each pair of bytes has meaning according to lookup dictionaries, then use the values to build an array of rows inserted into a...
6
by: mac | last post by:
Summary: 1. I want to define a column in anMS Access table to be lookups on other tables. 2. The table that is the data source (e.g the "parent" table) has a composite primary key. 3. When...
2
by: King Ron | last post by:
Ola all. In responding to a recent post requesting help with a search issue, I recommended using a combo box lookup in the table design. "paii, Ron" (no relation) posted this reply: " There are...
4
by: netnewbie78 | last post by:
Hello All, I don't have a problem (but maybe I will after I explain). I have a question with regards to something I saw in Access 2007. But first, a little backstory: I'm writing a very small...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.