ACCESS: Add some missing code in mWhileDoOpen