• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 359
  • Last Modified:

Access 2010

I have created a form in Access 2010 that consists of two subforms. One of the subforms finds items when I search. The other subform does not find any items when I search even when I know that the searched for item exists.
0
John_Holecek
Asked:
John_Holecek
1 Solution
 
hnasrCommented:
Search in one form works fine, but in the other one it fails.

One reason could be a logical error with a wrong where criteria.

Try with a new form with one field and check the code. This may pinpoint any logical error.

You may need to recreate that form. Recreation is one way to clean up any logical mistakes.

If it is feasible,  you may upload a database with just the 2 forms including a few records of test data.
0
 
Luke ChungPresidentCommented:
Hard to understand what you mean by subforms being linked to search lists. How?

Here's a white paper we wrote that may help:
Synchronize Two Related Subforms on a Microsoft Access Form

Here's another white paper on a related issue about defining the link fields:
Microsoft Access Subforms Should Reference the Control Rather than Field for Master Link Fields
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now