I'm using the Data Environment for a small database project as it seems to be the easiest way to create ADO hierarchies.

When I add code to alter the connection string the data access becomes read only.

even if I do this :

strConnectString = DE1.CN1.ConnectionString
DE1.CN1.ConnectionString=strConnectString

if I rem out the second line, everything works ok.

Any ideas anyone ?

Thanks