** This issue is addressed in ArcGIS 9.0 Service Pack 2 (SP2) **
Opening a table window for a joined layer with a definition query causes the error:
"Error getting list of OIDs"
The table opens without rows.
The error occurs only when a field from the joined table has been used in the definition query.