I have another problem,

If I was to make a note on a clientdataset field every 'friday' throughout
a year that 'It is now lunchtime' , how would I go about doing that. Of course I would like to be able to set which day it would be (eg. friday, saturday, sunday).


or once a month (first day of the month would be fine).

Anyone know?

Also it occurs to me that in a clientdataset, if you for example have some code which is like this:

function recalculate(years, month, frequency, accannualreturn : double) : string;
begin
accannualreturn := price * frequency * months;
recalculate := floattostr(accannualreturn);
end;


procedure TForm1.ComboBox2OnChange(Sender : TObject);
begin
  DBEdit1.text := recalculate;
end;

yes accannualreturn written in dbedit1.text but when you click on it, it disappears
and it seems when it is written statically, it doesnt actually write to the database.


Why?

Ben Iti

_________________________________________________________________
Check out the Xtra gaming servers at  http://xtramsn.co.nz/gaming !

---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to