hi all,
i want to know ,is there any way we can change the color of the field value when the value is change! i tried using the updatecolorfore codes ijn the format trigger! bt it doesnt produce the result i want.
i have alrecy gone through all the old post. but none is related to what i want. so can can one please suggest another way then the Onformat !
please see the attachment to understand clearly.... thanks
smile always
shona
That which you seek inside is that which you find outside
0
Answers
http://dynamicsuser.net/forums/t/33290.aspx
thanks:)
shona
That which you seek inside is that which you find outside
how do i do that?
shona
That which you seek inside is that which you find outside
thanks.
shona
That which you seek inside is that which you find outside
shona
That which you seek inside is that which you find outside
OnFormat(VAR Text : Text[1024];)
CurrForm.Name.UPDATEFORECOLOR(temp);
OnAfterValidate()
temp := 643;
CurrForm.UPDATECONTROLS;
(temp is an integer variable here)
i tried as you said what happens now is! the value in my entire field is changed on a simple click on that text!
shona
That which you seek inside is that which you find outside
i think the problem lies in not specficing the specific line. i have generally coded it like this
IF "Conceptual Design(CD)" <> Esttemp."Conceptual Design(CD)" THEN
CurrForm.Cd.UPDATEFORECOLOR(255);
so can anyone tell me how to be specific in this code? ](*,)
thanks.
shona
That which you seek inside is that which you find outside
|To-Increase|
shona
That which you seek inside is that which you find outside
esttemp.copy(xrec);
and then compare any changes to that record.
You could check on the value itself, so that a simple click wouldn't change it
Make sure the esttemp isen't assigned again on an edit.
Perhaps you could check on primary key, if that has changed set it as esttemp.
The only thing then you have to catch is the onrename.
|To-Increase|
'm writing my codes in the Onformat trigger! And i did as you said, tried to write the code you asked me to! esttemp.copy(xrec);
but when i wrote this code its giving me error msg. :-k And i have already wriiten CurrForm.UPDATECONTROLS;
thanks
shona
That which you seek inside is that which you find outside
I tried this on the sales line as a test .. It changes color of the unit cost field if the unit cost field on the sales line doesn't match what's on the item card. It works, is this what you're trying to do?
On your code you never set it back to black if it's actually correct - hence the whole column turning.
http://www.BiloBeauty.com
http://www.autismspeaks.org
Thank you All
it worked \:D/
shona
That which you seek inside is that which you find outside