Autolookup Query

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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?
 
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.
 
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.
 
Patti said:
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.


I am going to take a guess. Do the records that are not showing up not
have a match in the other table?
 
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.
 
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 said:
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 said:
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
 
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
 
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 said:
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 said:
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 said:
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


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.

:

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


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?
 
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 said:
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 said:
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 said:
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


:

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


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.

:

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


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?
 
Hmmmmmmmmm....well, from your original description, I thought you WANTED to
be able to see all of the instructors.

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


Patti Davignon said:
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 said:
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


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.

:

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


:

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" <[email protected]> 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.

:

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" <[email protected]>
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?
 
Confusing I know! I want to be able to see all of the instructors that are
equal to the class. See I've got the class table which consists of all of
the class information including the instructor name - this is the linking
field between the class table and instructor table. In my class form I have
all of the fields from the class table, plus the fields from the instructor
table. When I type in the instructors name on the form it brings up all of
the instructor info (from the instructor table) for that particular
instructor, for that particular class - which is what I want. However, for
new instructors (ones that do not exist on the instructors table yet), I want
to be able to enter their information on the class from in the instructor
name, addres, etc. spots and have it ADD this information to the instructors
table at the same time. What is happening is, it is only showing me the
records where the instructor name matches in both the instructor table and
class table. So any of those new instructors that have not be added to the
instructor table, can't be added from the class form. Does this explain
anything? I'm not sure if I will be able to use the autolookup query route
or if I should try using a subform. I'm not familiar with any of this
onlyteaching myself from the help menus. Thanks for all of your help and
taking the time to read all this.

Lynn Trapp said:
Hmmmmmmmmm....well, from your original description, I thought you WANTED to
be able to see all of the instructors.

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


Patti Davignon said:
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 said:
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


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.

:

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


:

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


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.

:

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


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?
 
Well, let me ask you this. Is your "autolookup query" the recordsource for
a combobox that you are using to select a given instructor? If so, there are
ways to use the Not In List event to populate your table with new
information. If not, then you could probably just add a button to your form
that opens another form for entering data into the instructor's table. I'm
still not quite able to visualize how your data is laid out.

I do know one thing, though, and should have probably mentioned this
earlier, and that is the design of your table. It appears that you have
tried to create a table for the year. This is not a good idea. Instead, you
should have only one table for your class information with a date field that
identifies the year.

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


Patti Davignon said:
Confusing I know! I want to be able to see all of the instructors that are
equal to the class. See I've got the class table which consists of all of
the class information including the instructor name - this is the linking
field between the class table and instructor table. In my class form I have
all of the fields from the class table, plus the fields from the instructor
table. When I type in the instructors name on the form it brings up all of
the instructor info (from the instructor table) for that particular
instructor, for that particular class - which is what I want. However, for
new instructors (ones that do not exist on the instructors table yet), I want
to be able to enter their information on the class from in the instructor
name, addres, etc. spots and have it ADD this information to the instructors
table at the same time. What is happening is, it is only showing me the
records where the instructor name matches in both the instructor table and
class table. So any of those new instructors that have not be added to the
instructor table, can't be added from the class form. Does this explain
anything? I'm not sure if I will be able to use the autolookup query route
or if I should try using a subform. I'm not familiar with any of this
onlyteaching myself from the help menus. Thanks for all of your help and
taking the time to read all this.

Lynn Trapp said:
Hmmmmmmmmm....well, from your original description, I thought you WANTED to
be able to see all of the instructors.

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


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.

:

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


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.

:

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


:

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" <[email protected]>
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.

:

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


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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top