Allen,
This combo box is unbound. The form feeds paramaters to another form fed
by
a parameter query (which everything works fine). The row source is a
query
with about 30K distinct listings, about 63K records in all. (all the other
combo boxes have queries based on the same table and work as expected).
The
bound column propert says 1, column count 1, column width is blank (but I
can
see the data in the combo box when I click the dropdown as well as select
it
normally). Here is the SQL of the query. I have a total of 6 fields in
the
query, the one for the combo which is the only one that is displayed, and
distinct set. I am using paramater queries based under the other five
columns based on the combo boxes in the same form with the Nz function to
list all/limit choices in the other combo boxes and this combo when
something
has been selected in this combo or any other combo. Again that all works
fine, it is just the auto expand on this one combo box. Is it that this
is
all to much for the object? I will paste the SQL of the query, but it is
very very ugly with all the criteria added after adding the Nz parameters.
I
am not sure if you can get anything out of it, probably just the first few
lines anyway.
SELECT DISTINCT [Data Table].[Outlet #]
FROM [Data Table]
WHERE ((([Data Table].[Call/Error Date])=[Forms]![frmDispute]![ErrDate])
AND
(([Data Table].[Transaction #])=[Forms]![frmDispute]![TranNum]) AND
(([Data
Table].Error)=[Forms]![frmDispute]![Err]) AND (([Data Table].[Agent
Name])=
[Forms]![frmDispute]![AgtName]) AND (([Data Table].[Outlet Name])=[Forms]!
[frmDispute]![OutName])) OR ((([Data Table].[Call/Error Date])=[Forms]!
[frmDispute]![ErrDate]) AND (([Data
Table].Error)=[Forms]![frmDispute]![Err])
AND (([Data Table].[Agent Name])=[Forms]![frmDispute]![AgtName]) AND
(([Data
Table].[Outlet Name])=[Forms]![frmDispute]![OutName]) AND ((Nz([Forms]!
[frmDispute]![TranNum],""))="")) OR ((([Data Table].[Transaction
#])=[Forms]!
[frmDispute]![TranNum]) AND (([Data
Table].Error)=[Forms]![frmDispute]![Err])
AND (([Data Table].[Agent Name])=[Forms]![frmDispute]![AgtName]) AND
(([Data
Table].[Outlet Name])=[Forms]![frmDispute]![OutName]) AND ((Nz([Forms]!
[frmDispute]![ErrDate],""))="")) OR ((([Data Table].Error)=[Forms]!
[frmDispute]![Err]) AND (([Data Table].[Agent Name])=[Forms]![frmDispute]!
[AgtName]) AND (([Data Table].[Outlet
Name])=[Forms]![frmDispute]![OutName])
AND ((Nz([Forms]![frmDispute]![TranNum],""))="") AND
((Nz([Forms]![frmDispute]
![ErrDate],""))="")) OR ((([Data Table].[Call/Error Date])=[Forms]!
[frmDispute]![ErrDate]) AND (([Data Table].[Transaction #])=[Forms]!
[frmDispute]![TranNum]) AND (([Data Table].[Agent
Name])=[Forms]![frmDispute]!
[AgtName]) AND (([Data Table].[Outlet
Name])=[Forms]![frmDispute]![OutName])
AND ((Nz([Forms]![frmDispute]![Err],""))="")) OR ((([Data
Table].[Call/Error
Date])=[Forms]![frmDispute]![ErrDate]) AND (([Data Table].[Agent Name])=
[Forms]![frmDispute]![AgtName]) AND (([Data Table].[Outlet Name])=[Forms]!
[frmDispute]![OutName]) AND ((Nz([Forms]![frmDispute]![TranNum],""))="")
AND
((Nz([Forms]![frmDispute]![Err],""))="")) OR ((([Data Table].[Transaction
#])
=[Forms]![frmDispute]![TranNum]) AND (([Data Table].[Agent Name])=[Forms]!
[frmDispute]![AgtName]) AND (([Data Table].[Outlet
Name])=[Forms]![frmDispute]
![OutName]) AND ((Nz([Forms]![frmDispute]![ErrDate],""))="") AND
((Nz([Forms]!
[frmDispute]![Err],""))="")) OR ((([Data Table].[Agent Name])=[Forms]!
[frmDispute]![AgtName]) AND (([Data Table].[Outlet
Name])=[Forms]![frmDispute]
![OutName]) AND ((Nz([Forms]![frmDispute]![TranNum],""))="") AND
((Nz([Forms]!
[frmDispute]![ErrDate],""))="") AND
((Nz([Forms]![frmDispute]![Err],""))=""))
OR ((([Data Table].[Call/Error Date])=[Forms]![frmDispute]![ErrDate]) AND
((
[Data Table].[Transaction #])=[Forms]![frmDispute]![TranNum]) AND (([Data
Table].Error)=[Forms]![frmDispute]![Err]) AND (([Data Table].[Outlet
Name])=
[Forms]![frmDispute]![OutName]) AND
((Nz([Forms]![frmDispute]![AgtName],""))
="")) OR ((([Data Table].[Call/Error
Date])=[Forms]![frmDispute]![ErrDate])
AND (([Data Table].Error)=[Forms]![frmDispute]![Err]) AND (([Data Table].
[Outlet Name])=[Forms]![frmDispute]![OutName]) AND
((Nz([Forms]![frmDispute]!
[TranNum],""))="") AND ((Nz([Forms]![frmDispute]![AgtName],""))="")) OR
(((
[Data Table].[Transaction #])=[Forms]![frmDispute]![TranNum]) AND (([Data
Table].Error)=[Forms]![frmDispute]![Err]) AND (([Data Table].[Outlet
Name])=
[Forms]![frmDispute]![OutName]) AND
((Nz([Forms]![frmDispute]![ErrDate],""))
="") AND ((Nz([Forms]![frmDispute]![AgtName],""))="")) OR ((([Data Table].
Error)=[Forms]![frmDispute]![Err]) AND (([Data Table].[Outlet
Name])=[Forms]!
[frmDispute]![OutName]) AND ((Nz([Forms]![frmDispute]![TranNum],""))="")
AND
((Nz([Forms]![frmDispute]![ErrDate],""))="") AND
((Nz([Forms]![frmDispute]!
[AgtName],""))="")) OR ((([Data Table].[Call/Error
Date])=[Forms]![frmDispute]
![ErrDate]) AND (([Data Table].[Transaction
#])=[Forms]![frmDispute]![TranNum]
) AND (([Data Table].[Outlet Name])=[Forms]![frmDispute]![OutName]) AND
((Nz(
[Forms]![frmDispute]![Err],""))="") AND
((Nz([Forms]![frmDispute]![AgtName],
""))="")) OR ((([Data Table].[Call/Error
Date])=[Forms]![frmDispute]![ErrDate]
) AND (([Data Table].[Outlet Name])=[Forms]![frmDispute]![OutName]) AND
((Nz(
[Forms]![frmDispute]![TranNum],""))="") AND
((Nz([Forms]![frmDispute]![Err],
""))="") AND ((Nz([Forms]![frmDispute]![AgtName],""))="")) OR ((([Data
Table].
[Transaction #])=[Forms]![frmDispute]![TranNum]) AND (([Data
Table].[Outlet
Name])=[Forms]![frmDispute]![OutName]) AND
((Nz([Forms]![frmDispute]![ErrDate]
,""))="") AND ((Nz([Forms]![frmDispute]![Err],""))="") AND ((Nz([Forms]!
[frmDispute]![AgtName],""))="")) OR ((([Data Table].[Outlet
Name])=[Forms]!
[frmDispute]![OutName]) AND ((Nz([Forms]![frmDispute]![TranNum],""))="")
AND
((Nz([Forms]![frmDispute]![ErrDate],""))="") AND
((Nz([Forms]![frmDispute]!
[Err],""))="") AND ((Nz([Forms]![frmDispute]![AgtName],""))="")) OR
((([Data
Table].[Call/Error Date])=[Forms]![frmDispute]![ErrDate]) AND (([Data
Table].
[Transaction #])=[Forms]![frmDispute]![TranNum]) AND (([Data
Table].Error)=
[Forms]![frmDispute]![Err]) AND (([Data Table].[Agent Name])=[Forms]!
[frmDispute]![AgtName]) AND ((Nz([Forms]![frmDispute]![OutName],""))=""))
OR
((([Data Table].[Call/Error Date])=[Forms]![frmDispute]![ErrDate]) AND ((
[Data Table].Error)=[Forms]![frmDispute]![Err]) AND (([Data Table].[Agent
Name])=[Forms]![frmDispute]![AgtName]) AND
((Nz([Forms]![frmDispute]![TranNum]
,""))="") AND ((Nz([Forms]![frmDispute]![OutName],""))="")) OR ((([Data
Table]
[Transaction #])=[Forms]![frmDispute]![TranNum]) AND (([Data
Table].Error)=
[Forms]![frmDispute]![Err]) AND (([Data Table].[Agent Name])=[Forms]!
[frmDispute]![AgtName]) AND ((Nz([Forms]![frmDispute]![ErrDate],""))="")
AND
((Nz([Forms]![frmDispute]![OutName],""))="")) OR ((([Data Table].Error)=
[Forms]![frmDispute]![Err]) AND (([Data Table].[Agent Name])=[Forms]!
[frmDispute]![AgtName]) AND ((Nz([Forms]![frmDispute]![TranNum],""))="")
AND
((Nz([Forms]![frmDispute]![ErrDate],""))="") AND
((Nz([Forms]![frmDispute]!
[OutName],""))="")) OR ((([Data Table].[Call/Error
Date])=[Forms]![frmDispute]
![ErrDate]) AND (([Data Table].[Transaction
#])=[Forms]![frmDispute]![TranNum]
) AND (([Data Table].[Agent Name])=[Forms]![frmDispute]![AgtName]) AND
((Nz(
[Forms]![frmDispute]![Err],""))="") AND
((Nz([Forms]![frmDispute]![OutName],
""))="")) OR ((([Data Table].[Call/Error
Date])=[Forms]![frmDispute]![ErrDate]
) AND (([Data Table].[Agent Name])=[Forms]![frmDispute]![AgtName]) AND
((Nz(
[Forms]![frmDispute]![TranNum],""))="") AND
((Nz([Forms]![frmDispute]![Err],
""))="") AND ((Nz([Forms]![frmDispute]![OutName],""))="")) OR ((([Data
Table].
[Transaction #])=[Forms]![frmDispute]![TranNum]) AND (([Data Table].[Agent
Name])=[Forms]![frmDispute]![AgtName]) AND
((Nz([Forms]![frmDispute]![ErrDate]
,""))="") AND ((Nz([Forms]![frmDispute]![Err],""))="") AND ((Nz([Forms]!
[frmDispute]![OutName],""))="")) OR ((([Data Table].[Agent Name])=[Forms]!
[frmDispute]![AgtName]) AND ((Nz([Forms]![frmDispute]![TranNum],""))="")
AND
((Nz([Forms]![frmDispute]![ErrDate],""))="") AND
((Nz([Forms]![frmDispute]!
[Err],""))="") AND ((Nz([Forms]![frmDispute]![OutName],""))="")) OR
((([Data
Table].[Call/Error Date])=[Forms]![frmDispute]![ErrDate]) AND (([Data
Table].
[Transaction #])=[Forms]![frmDispute]![TranNum]) AND (([Data
Table].Error)=
[Forms]![frmDispute]![Err]) AND
((Nz([Forms]![frmDispute]![AgtName],""))="")
AND ((Nz([Forms]![frmDispute]![OutName],""))="")) OR ((([Data Table].
[Call/Error Date])=[Forms]![frmDispute]![ErrDate]) AND (([Data
Table].Error)=
[Forms]![frmDispute]![Err]) AND
((Nz([Forms]![frmDispute]![TranNum],""))="")
AND ((Nz([Forms]![frmDispute]![AgtName],""))="") AND
((Nz([Forms]![frmDispute]
![OutName],""))="")) OR ((([Data Table].[Transaction
#])=[Forms]![frmDispute]!
[TranNum]) AND (([Data Table].Error)=[Forms]![frmDispute]![Err]) AND ((Nz(
[Forms]![frmDispute]![ErrDate],""))="") AND ((Nz([Forms]![frmDispute]!
[AgtName],""))="") AND ((Nz([Forms]![frmDispute]![OutName],""))="")) OR
(((
[Data Table].Error)=[Forms]![frmDispute]![Err]) AND
((Nz([Forms]![frmDispute]!
[TranNum],""))="") AND ((Nz([Forms]![frmDispute]![ErrDate],""))="") AND
((Nz(
[Forms]![frmDispute]![AgtName],""))="") AND ((Nz([Forms]![frmDispute]!
[OutName],""))="")) OR ((([Data Table].[Call/Error
Date])=[Forms]![frmDispute]
![ErrDate]) AND (([Data Table].[Transaction
#])=[Forms]![frmDispute]![TranNum]
) AND ((Nz([Forms]![frmDispute]![Err],""))="") AND
((Nz([Forms]![frmDispute]!
[AgtName],""))="") AND ((Nz([Forms]![frmDispute]![OutName],""))="")) OR
(((
[Data Table].[Call/Error Date])=[Forms]![frmDispute]![ErrDate]) AND ((Nz(
[Forms]![frmDispute]![TranNum],""))="") AND
((Nz([Forms]![frmDispute]![Err],
""))="") AND ((Nz([Forms]![frmDispute]![AgtName],""))="") AND
((Nz([Forms]!
[frmDispute]![OutName],""))="")) OR ((([Data Table].[Transaction
#])=[Forms]!
[frmDispute]![TranNum]) AND ((Nz([Forms]![frmDispute]![ErrDate],""))="")
AND
((Nz([Forms]![frmDispute]![Err],""))="") AND ((Nz([Forms]![frmDispute]!
[AgtName],""))="") AND ((Nz([Forms]![frmDispute]![OutName],""))="")) OR
(((Nz
([Forms]![frmDispute]![TranNum],""))="") AND ((Nz([Forms]![frmDispute]!
[ErrDate],""))="") AND ((Nz([Forms]![frmDispute]![Err],""))="") AND ((Nz(
[Forms]![frmDispute]![AgtName],""))="") AND ((Nz([Forms]![frmDispute]!
[OutName],""))=""))
ORDER BY [Data Table].[Outlet #];
Allen said:
Timothy, tell us more about this combo.
Its Control Source property? What is there?
If it is a field in your table, open the table in Design view, and tell us
the Data Type of the field.
Its Row Source property?
Is this a table? query? SQL statement?
How many records in this table/query?
Paste the query or SQL statement.
The Bound Column property?
The Column Count property?
The Column Widths property?
Just as a wild guess, you could try adding DISTINCT to the RowSource
query/SQL statement.
Otherwise, I'm guessing that the data type doesn't match, or there is
something else (leading space?) messing it up.
Or possibly, the count of records in the RowSource exceeds the limit for
loading into lists.
I have a form with 6 combo boxes that have the auto expand set to yes.
It
works on 5 of them great, 4 text and 1 date field, however one is a long
[quoted text clipped - 10 lines]
been searching the past two days with no success. Any direction would
be
greatly appreciated.