Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

Change colour of field in grid depending on certain criteria

(0) ShareShare
ReportReport
Posted on by 1,615

Hi there,

I am customising the Timecard entry screen (TM.TCE.00).  What I want to do is the following:

-when the grid is populated (ie. the document no is selected or changed), I would like each of the day hour fields (Saturday to Friday regular hours) to either change the font colour to red or green depending on if a comment (Invoice Comments button) has been entered for that day (green= entered, red= still required).  The client wants to make comments for each day mandatory and in this way the user can see at a glance which days comments are still required.  

- When the user is entering data into the line for the first line, the fields should all be red (no comment yet).

Can anyone help me please?!!

*This post is locked for comments

  • Jo Wykerd Profile Picture
    Jo Wykerd 1,615 on at
    RE: Change colour of field in grid depending on certain criteria

    Just to add to this query, I know how to access the table where the notes are stored for each day (am able to create key to access correct record).  I just need help on setting font color per day per line depending on whether notes exist or not.  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,253 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans