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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Autolookup Query



 
 
Thread Tools Display Modes
  #1  
Old October 21st, 2004, 03:39 PM
Patti Davignon
external usenet poster
 
Posts: n/a
Default Autolookup Query

I have created an autolookup query to lookup instructor information in my
instructor database. However, when I open the query, it is not showing all
of the files in my database. I have not sent any criteria because I want to
show all of my records. Can someone help?
  #2  
Old October 21st, 2004, 03:51 PM
Lynn Trapp
external usenet poster
 
Posts: n/a
Default

We might be able to help but we need a lot more information from you. What
do you mean by "an autolookup query"? What do you mean by "files in my
database"? A database stores records not files. Would you post the SQL for
your query?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote in message
...
I have created an autolookup query to lookup instructor information in my
instructor database. However, when I open the query, it is not showing

all
of the files in my database. I have not sent any criteria because I want

to
show all of my records. Can someone help?



  #3  
Old October 21st, 2004, 04:15 PM
Patti Davignon
external usenet poster
 
Posts: n/a
Default

Sorry, I didn't mean to be so vague. I'm not sure what you mean by the SQL
for my query. The "autolookup" query I created is a combination of data from
two different tables. I have an instructor table and a class table. The
query is used to create an "autofill" feature on the form I use. However,
I'm not having a problem with the autofill part of it. The problem is that
in my query I have not specified any criteria because I don't want to exclude
any records. The query is just not showing all of the records in the table
as it should.

"Lynn Trapp" wrote:

We might be able to help but we need a lot more information from you. What
do you mean by "an autolookup query"? What do you mean by "files in my
database"? A database stores records not files. Would you post the SQL for
your query?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote in message
...
I have created an autolookup query to lookup instructor information in my
instructor database. However, when I open the query, it is not showing

all
of the files in my database. I have not sent any criteria because I want

to
show all of my records. Can someone help?




  #4  
Old October 21st, 2004, 04:21 PM
Lynn Trapp
external usenet poster
 
Posts: n/a
Default

Ok, that helps a little bit. If you will open your query in design view,
then select View SQL View it will switch to a text based view. Copy and
paste that here.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote in message
...
Sorry, I didn't mean to be so vague. I'm not sure what you mean by the

SQL
for my query. The "autolookup" query I created is a combination of data

from
two different tables. I have an instructor table and a class table. The
query is used to create an "autofill" feature on the form I use. However,
I'm not having a problem with the autofill part of it. The problem is

that
in my query I have not specified any criteria because I don't want to

exclude
any records. The query is just not showing all of the records in the

table
as it should.

"Lynn Trapp" wrote:

We might be able to help but we need a lot more information from you.

What
do you mean by "an autolookup query"? What do you mean by "files in my
database"? A database stores records not files. Would you post the SQL

for
your query?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote in

message
...
I have created an autolookup query to lookup instructor information in

my
instructor database. However, when I open the query, it is not

showing
all
of the files in my database. I have not sent any criteria because I

want
to
show all of my records. Can someone help?






  #5  
Old October 21st, 2004, 04:29 PM
Joseph Meehan
external usenet poster
 
Posts: n/a
Default

Patti Davignon wrote:
Sorry, I didn't mean to be so vague. I'm not sure what you mean by the
SQL
for my query. The "autolookup" query I created is a combination of data
from two different tables. I have an instructor table and a class table.
The query is used to create an "autofill" feature on the form I use.
However, I'm not having a problem with the autofill part of it. The
problem is that in my query I have not specified any criteria because I
don't want to exclude any records. The query is just not showing all of
the records in the table as it should.

"Lynn Trapp" wrote:

We might be able to help but we need a lot more information from you.
What
do you mean by "an autolookup query"? What do you mean by "files in my
database"? A database stores records not files. Would you post the SQL
for
your query?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote in
message
...
I have created an autolookup query to lookup instructor information in
my
instructor database. However, when I open the query, it is not showing
all of the files in my database. I have not sent any criteria because I
want to show all of my records. Can someone help?



I am going to take a guess. Do the records that are not showing up not
have a match in the other table?

--
Joseph E. Meehan

26 + 6 = 1 It's Irish Math



  #6  
Old October 21st, 2004, 05:23 PM
Patti Davignon
external usenet poster
 
Posts: n/a
Default

No they do not have a match. But I want to be able to add new records to the
instructor table, along with being able to lookup and autofill for the
existing ones.

"Joseph Meehan" wrote:

Patti Davignon wrote:
Sorry, I didn't mean to be so vague. I'm not sure what you mean by the
SQL
for my query. The "autolookup" query I created is a combination of data
from two different tables. I have an instructor table and a class table.
The query is used to create an "autofill" feature on the form I use.
However, I'm not having a problem with the autofill part of it. The
problem is that in my query I have not specified any criteria because I
don't want to exclude any records. The query is just not showing all of
the records in the table as it should.

"Lynn Trapp" wrote:

We might be able to help but we need a lot more information from you.
What
do you mean by "an autolookup query"? What do you mean by "files in my
database"? A database stores records not files. Would you post the SQL
for
your query?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote in
message
...
I have created an autolookup query to lookup instructor information in
my
instructor database. However, when I open the query, it is not showing
all of the files in my database. I have not sent any criteria because I
want to show all of my records. Can someone help?



I am going to take a guess. Do the records that are not showing up not
have a match in the other table?

--
Joseph E. Meehan

26 + 6 = 1 It's Irish Math




  #7  
Old October 21st, 2004, 05:23 PM
Patti Davignon
external usenet poster
 
Posts: n/a
Default

I think I may have figured out the problem, but I'm not sure how to solve it.
In the form that is based on the query, I not only want to "lookup" the
information from the instructor table and have it fill in, but for the
records in my class database that I may not have the instructor for yet, I
have to leave the instructor field blank. The query is only giving me the
results of the records that are MATCHING in each table. So if I don't have
an instructor to list, or if its a new instructor who is not listed in the
instructor table, it isn't showing them on the query. So what I want it to
do is list all of them in the class table, whether or not it has an
instructor. Understand? Let me know if this helps you.

"Patti Davignon" wrote:

SELECT [Fall 2004].Semester, [Fall 2004].[CE #], [Fall 2004].[Section #],
[Fall 2004].Price, [Fall 2004].[Materials Fee], [Fall 2004].[Start Date],
[Fall 2004].[End Date], [Fall 2004].[Min/Max], [Fall 2004].Time, [Fall
2004].Admin, [Fall 2004].Category, [Fall 2004].[Day(s)], [Fall 2004].Skip,
[Fall 2004].Weeks, [Fall 2004].Hours, [Fall 2004].Location, [Fall 2004].[Room
Reservation #], [Fall 2004].Title, [Fall 2004].EventDescription, [Fall
2004].[Food?], [Fall 2004].[Instructor Description], [Fall 2004].Instructor,
[Fall 2004].[Date Paid], [Fall 2004].Salary, [Fall 2004].Dates, [Fall
2004].Instructor2, [Fall 2004].Salary2, [Fall 2004].Dates2, [Fall
2004].Instructor3, [Fall 2004].Salary3, [Fall 2004].Dates3, [Fall 2004].[Room
Setup/Equipment/Media], [Instructor Information].Company, [Instructor
Information].Address, [Instructor Information].City, [Instructor
Information].State, [Instructor Information].Zip, [Instructor
Information].[Home Phone], [Instructor Information].[Work Phone], [Instructor
Information].[Cell Phone], [Instructor Information].[Email Address]
FROM [Instructor Information] INNER JOIN [Fall 2004] ON [Instructor
Information].Instructor = [Fall 2004].Instructor;

Ok Hope this helps


"Lynn Trapp" wrote:

Ok, that helps a little bit. If you will open your query in design view,
then select View SQL View it will switch to a text based view. Copy and
paste that here.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote in message
...
Sorry, I didn't mean to be so vague. I'm not sure what you mean by the

SQL
for my query. The "autolookup" query I created is a combination of data

from
two different tables. I have an instructor table and a class table. The
query is used to create an "autofill" feature on the form I use. However,
I'm not having a problem with the autofill part of it. The problem is

that
in my query I have not specified any criteria because I don't want to

exclude
any records. The query is just not showing all of the records in the

table
as it should.

"Lynn Trapp" wrote:

We might be able to help but we need a lot more information from you.

What
do you mean by "an autolookup query"? What do you mean by "files in my
database"? A database stores records not files. Would you post the SQL

for
your query?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote in

message
...
I have created an autolookup query to lookup instructor information in

my
instructor database. However, when I open the query, it is not

showing
all
of the files in my database. I have not sent any criteria because I

want
to
show all of my records. Can someone help?






  #8  
Old October 21st, 2004, 05:24 PM
Patti Davignon
external usenet poster
 
Posts: n/a
Default

SELECT [Fall 2004].Semester, [Fall 2004].[CE #], [Fall 2004].[Section #],
[Fall 2004].Price, [Fall 2004].[Materials Fee], [Fall 2004].[Start Date],
[Fall 2004].[End Date], [Fall 2004].[Min/Max], [Fall 2004].Time, [Fall
2004].Admin, [Fall 2004].Category, [Fall 2004].[Day(s)], [Fall 2004].Skip,
[Fall 2004].Weeks, [Fall 2004].Hours, [Fall 2004].Location, [Fall 2004].[Room
Reservation #], [Fall 2004].Title, [Fall 2004].EventDescription, [Fall
2004].[Food?], [Fall 2004].[Instructor Description], [Fall 2004].Instructor,
[Fall 2004].[Date Paid], [Fall 2004].Salary, [Fall 2004].Dates, [Fall
2004].Instructor2, [Fall 2004].Salary2, [Fall 2004].Dates2, [Fall
2004].Instructor3, [Fall 2004].Salary3, [Fall 2004].Dates3, [Fall 2004].[Room
Setup/Equipment/Media], [Instructor Information].Company, [Instructor
Information].Address, [Instructor Information].City, [Instructor
Information].State, [Instructor Information].Zip, [Instructor
Information].[Home Phone], [Instructor Information].[Work Phone], [Instructor
Information].[Cell Phone], [Instructor Information].[Email Address]
FROM [Instructor Information] INNER JOIN [Fall 2004] ON [Instructor
Information].Instructor = [Fall 2004].Instructor;

Ok Hope this helps


"Lynn Trapp" wrote:

Ok, that helps a little bit. If you will open your query in design view,
then select View SQL View it will switch to a text based view. Copy and
paste that here.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote in message
...
Sorry, I didn't mean to be so vague. I'm not sure what you mean by the

SQL
for my query. The "autolookup" query I created is a combination of data

from
two different tables. I have an instructor table and a class table. The
query is used to create an "autofill" feature on the form I use. However,
I'm not having a problem with the autofill part of it. The problem is

that
in my query I have not specified any criteria because I don't want to

exclude
any records. The query is just not showing all of the records in the

table
as it should.

"Lynn Trapp" wrote:

We might be able to help but we need a lot more information from you.

What
do you mean by "an autolookup query"? What do you mean by "files in my
database"? A database stores records not files. Would you post the SQL

for
your query?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote in

message
...
I have created an autolookup query to lookup instructor information in

my
instructor database. However, when I open the query, it is not

showing
all
of the files in my database. I have not sent any criteria because I

want
to
show all of my records. Can someone help?






  #9  
Old October 21st, 2004, 07:17 PM
Lynn Trapp
external usenet poster
 
Posts: n/a
Default

Ok...now we are starting to get somewhere. Where it says "INNER JOIN",
change that to "LEFT JOIN" and see if that doesn't give you what you want.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote in message
...
I think I may have figured out the problem, but I'm not sure how to solve

it.
In the form that is based on the query, I not only want to "lookup" the
information from the instructor table and have it fill in, but for the
records in my class database that I may not have the instructor for yet, I
have to leave the instructor field blank. The query is only giving me the
results of the records that are MATCHING in each table. So if I don't

have
an instructor to list, or if its a new instructor who is not listed in the
instructor table, it isn't showing them on the query. So what I want it

to
do is list all of them in the class table, whether or not it has an
instructor. Understand? Let me know if this helps you.

"Patti Davignon" wrote:

SELECT [Fall 2004].Semester, [Fall 2004].[CE #], [Fall 2004].[Section

#],
[Fall 2004].Price, [Fall 2004].[Materials Fee], [Fall 2004].[Start

Date],
[Fall 2004].[End Date], [Fall 2004].[Min/Max], [Fall 2004].Time, [Fall
2004].Admin, [Fall 2004].Category, [Fall 2004].[Day(s)], [Fall

2004].Skip,
[Fall 2004].Weeks, [Fall 2004].Hours, [Fall 2004].Location, [Fall

2004].[Room
Reservation #], [Fall 2004].Title, [Fall 2004].EventDescription, [Fall
2004].[Food?], [Fall 2004].[Instructor Description], [Fall

2004].Instructor,
[Fall 2004].[Date Paid], [Fall 2004].Salary, [Fall 2004].Dates, [Fall
2004].Instructor2, [Fall 2004].Salary2, [Fall 2004].Dates2, [Fall
2004].Instructor3, [Fall 2004].Salary3, [Fall 2004].Dates3, [Fall

2004].[Room
Setup/Equipment/Media], [Instructor Information].Company, [Instructor
Information].Address, [Instructor Information].City, [Instructor
Information].State, [Instructor Information].Zip, [Instructor
Information].[Home Phone], [Instructor Information].[Work Phone],

[Instructor
Information].[Cell Phone], [Instructor Information].[Email Address]
FROM [Instructor Information] INNER JOIN [Fall 2004] ON [Instructor
Information].Instructor = [Fall 2004].Instructor;

Ok Hope this helps


"Lynn Trapp" wrote:

Ok, that helps a little bit. If you will open your query in design

view,
then select View SQL View it will switch to a text based view. Copy

and
paste that here.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote in

message
...
Sorry, I didn't mean to be so vague. I'm not sure what you mean by

the
SQL
for my query. The "autolookup" query I created is a combination of

data
from
two different tables. I have an instructor table and a class table.

The
query is used to create an "autofill" feature on the form I use.

However,
I'm not having a problem with the autofill part of it. The problem

is
that
in my query I have not specified any criteria because I don't want

to
exclude
any records. The query is just not showing all of the records in

the
table
as it should.

"Lynn Trapp" wrote:

We might be able to help but we need a lot more information from

you.
What
do you mean by "an autolookup query"? What do you mean by "files

in my
database"? A database stores records not files. Would you post the

SQL
for
your query?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote

in
message
...
I have created an autolookup query to lookup instructor

information in
my
instructor database. However, when I open the query, it is not
showing
all
of the files in my database. I have not sent any criteria

because I
want
to
show all of my records. Can someone help?








  #10  
Old October 21st, 2004, 07:33 PM
Patti Davignon
external usenet poster
 
Posts: n/a
Default

Actually, that didn't work. It gave me a record in the query for every
record in the instructor table, there ALL there (792 of them!). Not just the
ones I want to look up plus it still won't let me enter new ones there are
not already existing. Thanks for trying to help though.

"Lynn Trapp" wrote:

Ok...now we are starting to get somewhere. Where it says "INNER JOIN",
change that to "LEFT JOIN" and see if that doesn't give you what you want.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote in message
...
I think I may have figured out the problem, but I'm not sure how to solve

it.
In the form that is based on the query, I not only want to "lookup" the
information from the instructor table and have it fill in, but for the
records in my class database that I may not have the instructor for yet, I
have to leave the instructor field blank. The query is only giving me the
results of the records that are MATCHING in each table. So if I don't

have
an instructor to list, or if its a new instructor who is not listed in the
instructor table, it isn't showing them on the query. So what I want it

to
do is list all of them in the class table, whether or not it has an
instructor. Understand? Let me know if this helps you.

"Patti Davignon" wrote:

SELECT [Fall 2004].Semester, [Fall 2004].[CE #], [Fall 2004].[Section

#],
[Fall 2004].Price, [Fall 2004].[Materials Fee], [Fall 2004].[Start

Date],
[Fall 2004].[End Date], [Fall 2004].[Min/Max], [Fall 2004].Time, [Fall
2004].Admin, [Fall 2004].Category, [Fall 2004].[Day(s)], [Fall

2004].Skip,
[Fall 2004].Weeks, [Fall 2004].Hours, [Fall 2004].Location, [Fall

2004].[Room
Reservation #], [Fall 2004].Title, [Fall 2004].EventDescription, [Fall
2004].[Food?], [Fall 2004].[Instructor Description], [Fall

2004].Instructor,
[Fall 2004].[Date Paid], [Fall 2004].Salary, [Fall 2004].Dates, [Fall
2004].Instructor2, [Fall 2004].Salary2, [Fall 2004].Dates2, [Fall
2004].Instructor3, [Fall 2004].Salary3, [Fall 2004].Dates3, [Fall

2004].[Room
Setup/Equipment/Media], [Instructor Information].Company, [Instructor
Information].Address, [Instructor Information].City, [Instructor
Information].State, [Instructor Information].Zip, [Instructor
Information].[Home Phone], [Instructor Information].[Work Phone],

[Instructor
Information].[Cell Phone], [Instructor Information].[Email Address]
FROM [Instructor Information] INNER JOIN [Fall 2004] ON [Instructor
Information].Instructor = [Fall 2004].Instructor;

Ok Hope this helps


"Lynn Trapp" wrote:

Ok, that helps a little bit. If you will open your query in design

view,
then select View SQL View it will switch to a text based view. Copy

and
paste that here.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote in

message
...
Sorry, I didn't mean to be so vague. I'm not sure what you mean by

the
SQL
for my query. The "autolookup" query I created is a combination of

data
from
two different tables. I have an instructor table and a class table.

The
query is used to create an "autofill" feature on the form I use.

However,
I'm not having a problem with the autofill part of it. The problem

is
that
in my query I have not specified any criteria because I don't want

to
exclude
any records. The query is just not showing all of the records in

the
table
as it should.

"Lynn Trapp" wrote:

We might be able to help but we need a lot more information from

you.
What
do you mean by "an autolookup query"? What do you mean by "files

in my
database"? A database stores records not files. Would you post the

SQL
for
your query?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm


"Patti Davignon" wrote

in
message
...
I have created an autolookup query to lookup instructor

information in
my
instructor database. However, when I open the query, it is not
showing
all
of the files in my database. I have not sent any criteria

because I
want
to
show all of my records. Can someone help?









 




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
Return repeats info in "8s" Joy Rose Running & Setting Up Queries 14 October 13th, 2004 10:07 PM
"Corrupted" query Jeff J Running & Setting Up Queries 8 August 12th, 2004 07:51 PM
Display Parameter from Form on Report sara Setting Up & Running Reports 10 July 19th, 2004 04:54 PM
autolookup query Nancy Running & Setting Up Queries 1 June 8th, 2004 02:28 PM
Autolookup Query Ernie Running & Setting Up Queries 6 May 30th, 2004 05:25 PM


All times are GMT +1. The time now is 06:45 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.