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 the name of the employee) to a new employee.so i 
will get the following details from the enduser:
          Existing employee name,New employee name

  

    EmplTable  emp1,emp2;

    select emp1
    where
    emp1.Name == "AxaptaGuy";

     emp2.phonenr == emp1.phonenr;
     ..........
     ..........(there may be 30 to 40 fields)

   Instead of associating 30 to 40 fields(like this emp2.phonenr == 
emp1.phonenr) is there any alternative option?Can we do anything 
using field groups in the tables?It will help for my problem?

Thanks and regards,
Venkat








Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to