on 12-22-2009 1:35 PM
Has anyone been able to generate a UFL using MapPoint?
I created a .DLL that gets point-to-point distances using MP. When I reference this dll in a console app, it works without a problem. When I use it in Crystal, I get an error.
If I remove the MapPoint code and just return a value, it works with Crystal, so I know the UFL is set up correctly.
I have narrowed down the problem to the following line of code:
MapPoint.Application objApp = new MapPoint.Application();
If I comment out this line and return a static value, it works without a problem.
If I leave this line in, I get an error in the formula that uses it.
I am passing in two addresses to the method and returning the Distance between the two.
Any help would be appreciated.
Ray
What version of CR?
Do you get the error in the designer or when you run the report from an application?
Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.