ElkTronic & Klaus Elk Books

TimeReg

Short Overview

Whereas most of my cases are about embedded software, this case is about a database-tool I developed for internal use. In a typical R&D division most developers very often work on several projects. Before this tool, we had a top-down assumption that most people were working 95% of their time on this or that project. However, neither top-management, nor project-managers were sure whether that was actually the case. Another issue was that we mostly had strategic development projects, but also had some customer-paid projects where invoices were generated. These custom-projects had to be tracked via an arcane Oracle-system which everybody hated to use.

Even though I was managing a department, I was known to take on minor coding-tasks myself from time to time - as long as I could avoid the critical path (no need to develop tunnel-vision).

Then one week, I was approached by our VP of R&D, as well as a project manager, about the need for a tool for tracking time spent on various projects. I decided to take on the task. We wanted to be able to track time spent on each project, downto individuals and departments, as well as engineering skill-domains. Personally, I wanted a tool that was easy for developers to use daily, while allowing management to use Excel (and spend more time) on exported data for analysis. Automatic export to Oracle was the carrot that allowed a time-registration tool to be accepted.

After the dust had settled I decided to write a book about the design. The books is titled "SQL Server with C#" and covers the development of the time-registration tool from database design to C# implementation. The book has it's own page here. You can find more details and resources related to the book on that page.

The figure below shows the simple normal user interface of the time-registration tool. Users would select their favorite projects, and then these would be the one shown when the program was started. Since the tool became popular in other departments in other countries, users could switch to different holiday settings and week-countings systems. Very early on, we realized the need for projects to have a hierarchical structure, allowing for sub-projects and better organization of tasks. Thus "parent" projects were in bold. Hours could be written as Hours:Minutes or as decimal hours, and by right-clicking on a cell, comments could be added. Developers could see their own data, while managers could see more. If invoices were created, data got locked to prevent further modifications. Later, a forecast feature was added.

The simple normal user interface of the time-registration tool
The simple normal user interface of the time-registration tool

The form below shows how you can generate reports using the built-in report generator. Developers can also use this form to check that they are not missing any entries.

Built-in report generator with Excel export
Built-in report generator with Excel export

The tool was naturally called "TimeReg" and became as popular as such a tool can hope to become - which means that managers liked it and developers tolerated it. The usage grew and spread to other departments and countries in the organisation.

Going Deeper?

Please see SQL Server with C# for more details like:

Black Elk

© 2026 KlausElk.com & ElkTronic.dk - LinkedIn

DK CVR: 46011155

All rights reserved.