G
Guest
I have a program with a form with a combo box whose source is a query. The
user selects part # from the box. A command button opens another form that
finds that part# in the database and displays it. That form’s record source
is a query that looks up the part. That query gets the part# through this
parm [Forms]![frmSearchTerms]![cboDeuPart].
The database has 4 tables related by keys (with multiple fields) in each
table and the number of records is about 750K total. It is a history database
so no new records are being added, but it is impossible to test all records.
Two of us ran the program on two different PC’s (not on a network) with the
same exact program and database.
During final testing I discovered several cases where the query to show the
part# in the combo box cannot find the part on one of the pc’s.
Part#’s can be found in combo box, but the results are a blank screen
(couldn’t find the part) on the other pc.
Yet when I look at the results of the query directly I can find the part.
When I look at the specific table the part is in it is there. This applies
to each pc.
The part# is also in the combo query in the PC that displays the not in list
message.
Maybe 90% of the searches are ok and correct, but a few show these results.
There is no code involved in the searches. Only queries are the source of
the database searches.
So far, the same part’s that give the not in list message on one pc are the
same ones that show up in the list on the other pc, but show no query results.
I am doing lots of different tyoes of searches, some almost exactly like
this, but on a differrent field such as vendor part number, and those all
seem to work with the same type of query but with the other specific data as
the parameter.
Has anyone ever had such inconsistent results of using queries? Is there
something I am doing wrong? Is there more to searching a related table
database than using a simple query?
Any help would be appreciated.
Thanks,
Chuck
user selects part # from the box. A command button opens another form that
finds that part# in the database and displays it. That form’s record source
is a query that looks up the part. That query gets the part# through this
parm [Forms]![frmSearchTerms]![cboDeuPart].
The database has 4 tables related by keys (with multiple fields) in each
table and the number of records is about 750K total. It is a history database
so no new records are being added, but it is impossible to test all records.
Two of us ran the program on two different PC’s (not on a network) with the
same exact program and database.
During final testing I discovered several cases where the query to show the
part# in the combo box cannot find the part on one of the pc’s.
Part#’s can be found in combo box, but the results are a blank screen
(couldn’t find the part) on the other pc.
Yet when I look at the results of the query directly I can find the part.
When I look at the specific table the part is in it is there. This applies
to each pc.
The part# is also in the combo query in the PC that displays the not in list
message.
Maybe 90% of the searches are ok and correct, but a few show these results.
There is no code involved in the searches. Only queries are the source of
the database searches.
So far, the same part’s that give the not in list message on one pc are the
same ones that show up in the list on the other pc, but show no query results.
I am doing lots of different tyoes of searches, some almost exactly like
this, but on a differrent field such as vendor part number, and those all
seem to work with the same type of query but with the other specific data as
the parameter.
Has anyone ever had such inconsistent results of using queries? Is there
something I am doing wrong? Is there more to searching a related table
database than using a simple query?
Any help would be appreciated.
Thanks,
Chuck