Re: Delphi's Calendar

[ Related Articles and Replies ] [ DelphiLand Discussion Forum ]

Posted by webmaster Guido on October 29, 2002 at 03:34:27:

In Reply to: Calendars posted by SteD on October 25, 2002 at 15:31:19:

: i am writing a program to coordinate driving instructors leassens. is there a utillity to show a weeks calendar with appoinments on it, iv tried with the built in calendar thing but got no where:(
: please help as its for my alevel project

Delphi's calendar component only lets you select a date and time in a visual way, it has no built-in provisions for storing data.

Your project involves quite a lot more, this is a full blown database application that you are asking for :) ... If you have a version of Delphi with the desktop database components, it's not so difficult, it would only be a handful of lines of code if you don't need anything fancy for the data entry stuff.

Otherwise, you could write the program without using a real database such as Paradox or dBase, but encode the dates and times to text format, and write them with the appointments in a simple text file. For example: one date plus time plus appointment per line, and separate the "fields" with some kind of separator character. Of course, that would involve a lot more coding effort.

Related Articles and Replies:

[ DelphiLand Discussion Forum ]