particular record if there is at least one. Corsor
changes as you click on other line o move down/up
through the lines. So simply writng datasorces name
gets you curretn record.
Regarding your second question- the esiest way is to
create menuitem based button. When you specify the
datasorce on the menuitem then you can get the
selected record from caller form from args on called
form in init() :
CustTable ct;
;
...
ct = element.args().record;
--- Thomas <[EMAIL PROTECTED]> wrote:
> Hi,
> I have recently started programming X++ and I am
> wondering how Axapta
> handles the following. I override the form method
> enter()on the
> customer name field as follows:
>
> public void enter()
> {
> super();
> print "CustAccount is ", custtable.AccountNum;
> pause;
> }
>
> Axapta now prints the selected customers account
> number. But how does
> this happen? Is there a good explanation for this,
> or is it just the
> way Axapta works?
>
> This leads me to my second question. If I made a
> button on the
> CustTable form that opens a new form, and that new
> form needs the
> information about the customer that is selected in
> the CustTable form,
> how will I be able to transfer this data to the new
> form?
>
>
>
>
>
>
>
>
>
>
>
>
>
>
Paulius Cerniauskas
Phone: +37062049339
ICQ: 280959446
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
SPONSORED LINKS
| Computer part | Programming languages | Microsoft axapta |
| Support exchange |
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.

