Re: [Axapta-Knowledge-Village] Copying a record

2006-01-09 Thread venkat raghavan
Hai stefan,     Thanks a lot for the solution.It's working!!!   Thanks and regards, VenkatStefan Osterburg <[EMAIL PROTECTED]> wrote: just writeemp2.data(emp1);and afterwards change any fields in emp2 you need to change beforeinserting.Stefanpvraghavanmca schrieb:> Hi all,>    I want to add

Re: [Axapta-Knowledge-Village] Copying a record

2006-01-08 Thread Stefan Osterburg
just write emp2.data(emp1); and afterwards change any fields in emp2 you need to change before inserting. Stefan pvraghavanmca schrieb: > Hi all, >I want to add a button called "copy from" in a form.By clicking > that button i want to copy the data from one record to another(new) > record

Re: [Axapta-Knowledge-Village] Copying a record

2006-01-08 Thread Byteway
Hi, It is like you pass data from a form (via a button clicked method) to a report. You have to create a variable args and pass the current selected record to the args var. That way you will not foget any field you might need. Example: //... Args args = new Args(); ; args.record(Form_Datasourc

[Axapta-Knowledge-Village] Copying a record

2006-01-08 Thread pvraghavanmca
Hi all, I want to add a button called "copy from" in a form.By clicking that button i want to copy the data from one record to another(new) record.We will normaly add the below code in the button click method Ex:(This is only an example)Consider that i'm copying an employee record(by getting