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.
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 HongI would like to see the code, before giving any suggestion.RgdsAmit
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
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

