One more bug in TeamTrack. I tried changing when the last report was run, and realised that it was not changing at all. Then I looked at the function call, and realised that this paramater was not even one of the ones listed being sent to the function call. I guess I did this since I had a seperate function to update the last run date, and did not want to accidently update this value. Adding a call to the function that does updates the last run fixed that problem.

Then I had a brainwave. I guess that one of my users would love an emailed copy of the report sent to him each day. Hmm… Lets try adding a semicolon between the email addresses and see if it works. Nah. I have to split the email address by hand. No problem since it is an easy job in VB.NET.
Dim ea() As String = EmailAddress.Split(“;”)
For Each eaa As String In ea
sm.To.Add(New Mail.MailBox(eaa, eaa))
Next
rather than
sm.To.Add(New Mail.MailBox(EmailAddress, EmailAddress))
Now I just need to wait about five minutes for the report to run. [Every five minutes the client software checks to see if it needs to run a report, and then runs it if needed. It has just run, and has been sent to both the email addresses. This is PERFECT!]

I really do need to start documenting the software. I suppose I could just point people at the Blog and say ‘The instructions are in there’ but that really is not a helpful reply. Maybe I could just pay someone to document everything. Might be easier that way. I love to build more than document. Documenting things is OK, but building is fun. [Yeah, I know, I am a true engineer… And I am not sure if that is a compliment or an insult :-)]