I was reading on the mvps.org site not to use the lookup wizard in the
table design, but rather use a query. I'm confused by this, given that
the lookup wizard basically creates a query and uses it as the data
source - you can see it in the "Lookup" tab in the table design window.
So, what gives? :) 5 3879
Kevin wrote in message <pa****************************@hotmail.com> : I was reading on the mvps.org site not to use the lookup wizard in the table design, but rather use a query. I'm confused by this, given that the lookup wizard basically creates a query and uses it as the data source - you can see it in the "Lookup" tab in the table design window.
So, what gives? :)
What did you read, did you read the http://www.mvps.org/access/lookupfields.htm
or just http://www.mvps.org/access/tencommandments.htm
?
I would have thought the first of them to answer your questions - the
"lookup wizard" does a fair bit more then "basically creates a query
and uses it as the data source", and most of that, causing extra work,
confusement ...
--
Roy-Vidar
On Sun, 15 Jan 2006 12:32:05 +0000, RoyVidar wrote: Kevin wrote in message <pa****************************@hotmail.com> : I was reading on the mvps.org site not to use the lookup wizard in the table design, but rather use a query. I'm confused by this, given that the lookup wizard basically creates a query and uses it as the data source - you can see it in the "Lookup" tab in the table design window.
So, what gives? :)
What did you read, did you read the http://www.mvps.org/access/lookupfields.htm or just http://www.mvps.org/access/tencommandments.htm ?
I would have thought the first of them to answer your questions - the "lookup wizard" does a fair bit more then "basically creates a query and uses it as the data source", and most of that, causing extra work, confusement ...
I just found the 10 commandments, didn't see the other page. :)
So, if I used the Lookup fields and I now want to change it, can I just
change the field type, or do I need to do something else?
Kevin wrote in message <pa****************************@hotmail.com> : On Sun, 15 Jan 2006 12:32:05 +0000, RoyVidar wrote:
I just found the 10 commandments, didn't see the other page. :)
So, if I used the Lookup fields and I now want to change it, can I just change the field type, or do I need to do something else?
Well ... best thing would be to not use them from the beginning ;-)
See - when you create forms and reports based on tables containing
this,
those properties are inherited ...
So - what I would recommend, is stop using them for new projects.
Should you wish to do something with them now, then don't alter the
fieldtype, cause that's matching the primary key of the looked up
table,
but change the Display Control property of the control (in the lookup
tab) from Combo box to Text Box. This will stop inheriting this to new
forms and reports.
Then remove those from the forms and reports too, and for the forms,
create combos (through the combobox wizard) on the forms in stead, and
for the report, include the lookup table, and the looked up field in
the
query used as recordsource of the report.
--
Roy-Vidar
On Sun, 15 Jan 2006 21:23:49 +0000, RoyVidar wrote: Kevin wrote in message <pa****************************@hotmail.com> : On Sun, 15 Jan 2006 12:32:05 +0000, RoyVidar wrote:
I just found the 10 commandments, didn't see the other page. :)
So, if I used the Lookup fields and I now want to change it, can I just change the field type, or do I need to do something else?
Well ... best thing would be to not use them from the beginning ;-)
See - when you create forms and reports based on tables containing this, those properties are inherited ...
So - what I would recommend, is stop using them for new projects.
Should you wish to do something with them now, then don't alter the fieldtype, cause that's matching the primary key of the looked up table, but change the Display Control property of the control (in the lookup tab) from Combo box to Text Box. This will stop inheriting this to new forms and reports.
Then remove those from the forms and reports too, and for the forms, create combos (through the combobox wizard) on the forms in stead, and for the report, include the lookup table, and the looked up field in the query used as recordsource of the report.
I'm still early in the project, I'll just change the display control and
delete all the existing forms (2 of them). I try to spend all of my
initial time normalizing the data and creating the queries I need, then
forms, then reports.
Thanks,
Kevin
Kevin <wi******@hotmail.com> wrote in
news:pa****************************@hotmail.com: I'm still early in the project, I'll just change the display control and delete all the existing forms (2 of them).
I don't see why you need to do anything to the forms. If I'm
remembering correctly, when you drop a field defined as a lookup
onto a form, it creates a combobox that duplicates the lookup
combobox. The result is that you shouldn't have to alter your forms
at all.
In short, the lookup really only affects the table view and criteria
in the query designer.
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jim Stacey |
last post by:
Create Lookup field with Visual Basic
Can i create a lookup field on the fly? In my table Students i want to
create a loookup field
TeacherID that looks up teachers by their LastName. Otherwise...
|
by: my-wings |
last post by:
I've been reading about how evil Lookup fields in tables are, but I've got
to be missing something really basic. I know this subject has been covered
before, because I've just spent an hour or two...
|
by: xmp333 |
last post by:
Hi,
Is there a way to use a 2 column table as a lookup for a combo box,
having one field show up on the form, and the other field actually
written to the output table?
Here's an example:
I...
|
by: Splashout |
last post by:
I am having a problem with how to get a lookup to work how i want.
What i want is the user to be able to use the lookup on a form to
select the supplier for that product however there is different...
|
by: Splashout |
last post by:
I am having a problem with how to get a lookup to work how i want.
What i want is the user to be able to use the lookup on a form to
select the supplier for that product however there is different...
|
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...
|
by: James |
last post by:
I am used to VB6 but need to develop something in .Net.
I need to create several bound combo-boxes which will use lookup tables to
get their values.
I created a form using the dataform wizard....
|
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...
|
by: =?Utf-8?B?bXBy?= |
last post by:
In an Access table, I have a field that is a Lookup Wizard. I notice that in
the 2007 version, when a lookup is used, the datatype is changed to number.
I think this might be my problem. When I...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
| |