We are trying to change the DSN in a report created using a hardcoded DSN. At runtime we need to allow the user to select his own DNS and then print a report based on this user selected DSN. The attached code snippet does not work. Can you help me figure out how to make this work?
I modeled this code after a VB example found in a book Crystal Reports .Net Programming by Brian Bischof and have implement it in Microsoft C# but also need to make it work in Borland C++ Builder 6.0 which is where the attached code is from.