Progress 10 - 91d ADM

JerryC

New Member
I have some ADM developed code on Progress Version 91d. I have a customer that is upgrading to progress 10. Can i connect to the 10 database with ADM 91d and recompile my programs?
 
Recognize that when you are working with ADM, everything you are doing is still ABL code, it is just that some of it is part of the framework and you typically just use it, not modify it (although some people certainly do).

If you pick up the 9.1D ADM framework code and put that in your path instead of the OE10 ADM code, then you will have exactly the same code as you do now. Obviously, you need to bring across the ADM source, not just the .rs.

Alternatively, you can try to compile against the OE10 ADM source. Long term, that is clearly a better idea since your framework is evolved and improved and better maintained. But, don't be surprised if there are some changes which will show up as incompatibilities which will require you to modify your own code to suit the OE10 framework.

I have no personal experience with this since I wouldn't touch ADM with a 10 foot pole, but it could be as simple as opening the code in AppBuilder against the OE10 framework and saving the result, but I would be prepared to have to do some fiddling at least.
 
As Thomas says you may have to "fiddle".

But you might also get lucky. It is definitely worth a try to just pick up your code and recompile against OE10.
 
I did a conversion from 9.1D to 10.1A a few years ago. We moved to v10's ADM as well as converting the database, and found very few problems (the worst one was a few badly-behaving SBOs, but that was related to the crazy way the original developer decided to use them in the v9 app).

In fact, most problems I found were related to the simple action of compiling a v9 app using v10 - nothing to do with ADM at all. For example, the use of the PROVERSION statement (returns a character, where 9.1D > 10.1A, so any code that does "IF PROVERSION >= 9" will not behave as expected).

Bear in mind that if you retain the v9 ADM and move to the v10 development environment you'll get errors when developing using appbuilder. v10 Appbuilder expects v10 ADM2 code (new objects, PLIPs etc), so if you want to develop in v10 you really have to move to v10's ADM.
 
Back
Top