hallo,
i have some problems with Color Updates.
I have on table and one form, every i open the form i would like to check each Date Filed. if the date field under Workdate it should be have the Color red and if NOT when it should be green.
I saw that is not possible with Navision (dynamically) change Colors!!
Or is there another option to do that?? Maybe i have to change the Record Constuction??
Isn't it??
thx for help
0
Comments
IF YourDateField < WORKDATE THEN
BEGIN
CurrForm.YourDateField.UPDATEFORECOLOR(255); // = Red
CurrForm.YourDateField.UPDATEFONTBOLD(TRUE);
END ELSE
BEGIN
CurrForm.YourDateField.UPDATEFORECOLOR(0); // Standard Black
CurrForm.YourDateField.UPDATEFONTBOLD(FALSE);
END;
Good Luck
http://www.mibuso.com/forum/viewtopic.php?t=19881
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog