hi all,
I'm trying to copy the record of the table 5082 to a user custom table
50011 so i've made a report with the 5082 table.
In the OnAfterGetRecord i put this C/SIDE
//stat : record : 50011
stat.init;
stat.copy("Value Entry");
But i've got a Message telling me that all filters can't be copied at the same time and that only record from the same table can be copied.
Did anyone already try something like this.I don't wanna copy each fileds betwenn the twotables.
Thanks.
Waiting for Dynamics Nav V5
France
0
Comments
You can only use the COPY command if both record variables are of the same type, and then only if both tables have the same structure. You need to make this happen, or I'm afraid you're going to have to assign the fields individually.
HTH
RIS Plus, LLC
RIS Plus, LLC
I think that TRANSFERFIELDS is the command you are looking for.
Check out the help for more info.
Thanks TRANSFERFIELDS is the solution.
Regards guys.
France