PRB: Cannot Connect Data Control to a Password Protected MDB
Symptoms
If you attempt to use the Data control to connect to a password-protectedAccess database at design time, you receive the following error message:
Not a valid passwordSpecifically, this error occurs when you set the RecordSource property of the Data control.
Resolution
In the Properties window, set the following properties for the Datacontrol:
PropertyValue of Property————————————-DatabaseNameATEST.MDBConnect;pwd=aaaRecordSourceTable1
NOTE: You must set the DatabaseName property first, then set the connect property. If the properties are not set in this order, you receive the same error message.
IMPORTANT: This functionality is broken in Microsoft Visual Studio 6.0 Service Pack 4 (SP4).
