I’m doing some contract work for a client. In my copy of the database, I modified the rowsource of a listbox on a form, then compiled the database just to make sure everything was OK. I then imported the from into a transport database that I sent to the client. At client site, the form was imported into the production database, and the database was compiled and compacted.
When I got a new copy of the production database, my change did not appear to be in there. The listbox performed the way it had before the change. I opened the form and opened the SQL statement that was the rowsource, and it contained the change I had made. I closed and saved the form. When I opened the form again, the listbox worked like it should with my change! I verified this behavior on another machine, even recompiling the database, but the change to the rowsource did not “take effect” until I opened the form in design mode and then saved it.
I assume this has something to do with a compiled bit of code that Access is using. But how to prevent this from happening again? I didn’t try decompiling then recompiling. In this situation, we have 3 programmers who all submit their work and have it imported into the production database (no one works in it directly).