Hi,
 
I'm using the following codes :

rsAudit = (IAxaptaRecord) AxaptaObj.CallStaticRecordMethodEx("MyTable", "FindARecord", parameterList);
              
if(rsAudit.Found)
{    
   rsAudit.set_field("Name", myName) ;       // without errors
   rsAudit.set_field("Age", myAge) ;             // without errors
   rsAudit.set_field("Address", myAddress) ;   // with "Invalid argument" error               
   rsAudit.Update();
}


It is ok if I just update the Name and Age field, however, problem occurs when I update the address field, which data type is Memo (in axapta), I got the "Invalid Argument" error, please help. Thank you.
 
Hong 04


Amit Jain <[EMAIL PROTECTED]> wrote:
Hi Hong
 
I would like to see the code, before giving any suggestion.
 
Rgds
Amit

Yer Hong <[EMAIL PROTECTED]> wrote:
Hi All,
 
I'm trying to update a Memo type field in Axapta using COM Connector with C#, however, I encountered "Invalid Argument" error message during the update...my program works fine for updating String type field or Integer type field, but it has error when update the Memo type field...please help.
 
 Thank you.
 
regards,
Hong 04


Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs


Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs


Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs

Yahoo! Groups Links

Reply via email to