Moving Component Without Losing It

2 views
Skip to first unread message

Mike Kerner

unread,
Nov 11, 2010, 2:07:50 PM11/11/10
to 4D iNug Technical, 4D Tech GoogleGroups
I have a structure that I'm trying to move from 2004 to v12 that contains several components.  Unfortunately I don't have the original component databases any longer, apparently.

I'm trying to extract the components without uninstalling and therefore losing them so I can complete the conversion.

Suggestions?

Peter Jakobsson

unread,
Nov 11, 2010, 3:39:46 PM11/11/10
to 4d-...@googlegroups.com

On 11 Nov 2010, at 20:07, Mike Kerner wrote:

> Suggestions?

Hi Mike

There are different options depending on how many methods are involved.

If it's only a few, I'd simply save the code in text files (1 per
method), create a new v11 database for each component and re-create
the methods there, pasting in the old code (or do a side-by-side copy
and paste from 2004 to v11).

Unfortunately, some kind of copy and pasting appears your only option
since you cannot upgrade your 2004 structure until you delete the
components (otherways you could have upgraded it and done a 4D 'Move'
of the component code into new matrix databases).

If there are large amounts of methods (like hundreds) you might look
into Rob Lavaeux's API Pack plugin which can programatically extract
the method code (I think :).

h.t.h.

Peter

Reply all
Reply to author
Forward
0 new messages