Hi Andreas

1.      You simply pass the table as argument. You can see an example of
this in the method initFromCustInvoiceTable on the CustTable.
2.      If you want to check if a table is part of a map, you can use
the method isTableMapped on SysDictTable





________________________________

From: andreas_paulsson_cimkey_se [mailto:[EMAIL PROTECTED]
Sent: 3. januar 2005 10:59
To: [email protected]
Subject: [development-axapta] How to get a table Map fro a table?.





Hello.

I am creating a utility class that operates on addresses.
I have a utility function that wants a table map Address as in
parameter.

I can write

void myFunc(AddressMap _address)
{
   ...

   useAddress(_address.Address,
        _address.ZipCode,
        _address.City,
        _address.Country);

  ...
}

, but how do I call it?
E.g. from the CustTable form?

Is it possible at all to pass a map as a parameter?
And, how can I check is a map i associated with a table?

Regards,

  Andreas Paulsson










________________________________

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]
<mailto:[EMAIL PROTECTED]
be>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .



[Non-text portions of this message have been removed]





Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to