Just write the following code in the modified method of date in the form.
public void modified()
{
date d1;
int n;
;
super();
if(months.getText(MonthsOfYear::March))
{
d1=da1.dateValue();
n=mthofYr(d1);
if(n==3)
throw error("the date of month march can not be selected");
}
}
Regds
Trupti
hany abodoma <[EMAIL PROTECTED]> wrote:
dear all
i have field of type Date
and enumeration field has value from 1 to 12
i need when the user select the date
if i select from the enumeration 3 then he can't select all dayes in (mars) month (3)
thanks and best regards
Hany Abodoma
[Non-text portions of this message have been removed]
Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.
SPONSORED LINKS
Business finance course Business to business finance Small business finance Business finance consultant Business finance magazine Business finance schools
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "Axapta-Knowledge-Village" 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.
---------------------------------
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
[Non-text portions of this message have been removed]
Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.
SPONSORED LINKS
Business finance course | Business to business finance | Small business finance |
Business finance consultant | Business finance magazine | Business finance schools |
YAHOO! GROUPS LINKS
- Visit your group "Axapta-Knowledge-Village" 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.