like if i enter the account number, the next field shows the matching
name... i thought about using a display method, which gets the Name
by find from CustTable...
return CustTable::find(PriceDiscTable_AccountRelation.valueStr
()).Name;
The Field containing the Account Number has AutoDeclare, so it should
be accessible by this method...
Since the display method is initialized when opening the form, it
needs to be updated whenever the AccountNumber changes... That's why
i wrote a leave method for PriceDiscTable_AccountRelation which
updates the Name-Field (called AccountName)...
boolean ret;
ret = super();
AccountName.update();
return ret;
According to my (obviously wrong) logic, the form should take the
value from PriceDiscTable_AccountRelation, look it up in CustTable
and return the Account Name to the next Data Field. Whenever I select
PriceDiscTable_AccountRelation and leave it again, the value of
AccountName should be refreshed...
but AccountName stays empty... Could anyone tell my why?
Thanks a lot from a X++ newbie
Robert
YAHOO! GROUPS LINKS
- Visit your group "development-axapta" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

