Hi,
Is it possible to remove a single connection from Me.Dictionary.Databases? I don't want to call Me.Dictionary.Databases.Clear() as this removes my second connection (which is being re-set externally, so I can't re-add it within the mrt). Is there any way to call something like Me.Dictionary.Databases.Remove for a particular connection?
Thanks,
Colin
Removing a single database
Removing a single database
Hello Colin,
Thank you.
You can use following code:Is it possible to remove a single connection from Me.Dictionary.Databases? I don't want to call Me.Dictionary.Databases.Clear() as this removes my second connection (which is being re-set externally, so I can't re-add it within the mrt). Is there any way to call something like Me.Dictionary.Databases.Remove for a particular connection?
Code: Select all
report.Dictionary.Databases.RemoveAt(0);
Removing a single database
This seems to corrupt the second connection. My client application is now passing the connection string in as a variable, and I am calling Databases.Clear and re-adding both connections, so problem solved (by an alternate approach).
Thanks,
Colin
Thanks,
Colin