I'm trying to create F47011/12 records from F4201/F4211.

Being lazy - I thought I'd copy most of the fields with the following:


JDEDM_LoadDSfromDS( (HUSER)hUser, _J("F4201"),
(LPVOID)lpdsF4201,
_J("F47011"),
(LPVOID)lpdsF47011,
JDEDM_MATCHINGBY_DD);


But it gives me a memory error. I'm guessing it only works on JDE data structures??? (clue is in the name...)



E8.11/E9.2