Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use requery

Status
Not open for further replies.

jmeehan

ISP
Jun 18, 2003
6
US
I created a Form that has a sub-form. I then created another sub-form based on the first sub-form. In order to make the second sub-form update when selecting a record on the first sub-form I used a requery in the current event of the first sub-form. This does the trick. My problem is that once someone does 3-4 "Find"s on the main form the form freaks out and sometimes crashes Access. Does anyone know what is causing this to happen and how can I fix the problem?

Thanks for the help in advance.

James R. Meehan
Information Systems Specialist
Public Citizen
215 Pennsylvania Ave SE
Washington, DC 20003-1155
202.546.4996 -- Work
jmeehan@citizen.org
 
Make sure if you're using multiple linked subforms that your "Perform name AutoCorrect" option is turned off (Tools > Options > General tab).

You might also consider replacing that second subform with a list box or combo box and some editable controls? This article from MS


describes some other ways to optimize subforms.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top