Steve,

I am writing a development tutorial - training documentation. 
I already covered the validation methods on tables, fields and data 
sources. The validatewrite, validatefield, validatedelete methods. 
The property validate on Relations, the property deleteaction on 
DeleteActions and the property Mandatory on fields.

Now I read somewhere that there is a validation method on form 
controls. Meanwhile I found that we can make a field mandatory with 
setting the property Mandatory on the form control to yes. 

There is however a question that came up while doing some testing 
with the table CustTable. I find some groups on the design that have 
the AutoDataGroup set to yes. When this property is set to yes, one 
cannot change the property mandatory of the fields in the group.

What is the purpose of the AutoDataGroup ?

I have changed the setting of the Mandatory form control for the 
field name on the overview tab. From now onwards the name is 
mandatory in the overview tab. 


Are there other validation methods on form controls ? 

Regards,
Danny

--- In [EMAIL PROTECTED], "Steeve Gilbert" 
<[EMAIL PROTECTED]> wrote:
> There's also the validation from the table itself in method 
validateField() (ex SalesLine.validateField) if your form control is 
link to a dataSource.
> 
> Steeve... 
> 
> 
> -----Message d'origine-----
> De : dgaethofs [mailto:[EMAIL PROTECTED] 
> Envoyé : 23 septembre 2004 09:41
> À : [EMAIL PROTECTED]
> Objet : [Axapta-Knowledge-Village] Validate methods on Form 
Controls
> 
> Dear all,
> 
> I noticed that the method validate can be overridden on a form 
> control for example a stringedit. 
> 
> Can anyone tell me what validation is executed standard when the 
> method is not overridden.
> 
> Has it something to do with the property mandatory on the 
> stringedit..
> 
> Are there other validation methods on form controls, other then 
> those on the data source.
> 
> Regards,
> Danny
> 
> 
> 
> 
> Sharing the knowledge on Axapta. 
> Yahoo! Groups Links



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/kGEolB/TM
--------------------------------------------------------------------~-> 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to