views:

44

answers:

0

First some context: I have a Microsoft Access 2000 project (ADP file) accessing a SQL Server 2000 Database. The main form of that application has a lot of controls and subforms.

On one of the subforms which contain a summary of some information about companies, each record has two buttons that lead to a search form that access a web service and a form that display detailed information related to the current company.

The subform display 4 records. If I play a bit in the various windows accessible from there doing some searches and looking at and modifying detailed info and then going back to the subform, I can't set the focus to the edit box of the first 2 records. They are completely "dead".

I tried to have some more insight by looking at event fired in the subform using Spy++ and I discovered that the WM_SETFOCUS is never fired to the text boxes I click onto on those two first records but they are fired to the third record who was the last one I used to access the search window and the detailed information.

Is that a GDI related problem ? General corruption of ADP file ? What method can I use to debug that problem ?