Hi sonny,

Thanks for reply. I mean calling methods that is not overrideable.
For example:

Let's assume below method belongs to a field of a table
void method()
{
    ;
    info('succedd!!!');
}
And i want to call this method when user clicks a button.

--- In [email protected], Sonny Wibawa Adi
<[EMAIL PROTECTED]> wrote:
>
> Hi necmigocek,
>
> Did you mean by calling validate / modified-like
> methods of a specific field in form datasource?
>
> I tried this method on Axapta SP3 and worked well.
>
> public boolean validate()
> {
>     boolean ret;
>
>     ret = super();
>
>     info("X");
>
>     return ret;
> }
>
> void clicked()
> {
>     FormDataObject  myField;
>     super();
>
>     myField =
> SalesTable_ds.object(fieldNum(SalesTable,CustAccount));
>     myField.validate();
> }
>
>
> Remember to use FormDataObject variable as pointer
> holder, if didn't then "X" won't be shown in infolog.
> (i.e. SalesTable_ds.object(...).validate(); will call
> validateField)
>
> Regards,
>
> Sonny Wibawa Adi, MBSCP, MCAD.NET, MCSD.NET, MCP
>
> --- necmigocek <[EMAIL PROTECTED]> wrote:
>
> >                       
> >
> >
> >
> >
> >
>
>
>
>            
> __________________________________
> Discover Yahoo!
> Stay in touch with email, IM, photo sharing and more. Check it out!
> http://discover.yahoo.com/stayintouch.html






YAHOO! GROUPS LINKS




Reply via email to