Error Message when updating fields

Reply

Join Date: Jul 2005
Posts: 1
Reputation: Thato is an unknown quantity at this point 
Solved Threads: 0
Thato Thato is offline Offline
Newbie Poster

Error Message when updating fields

 
0
  #1
Jul 1st, 2005
hi,
i have created a class called TNote this is my class:
TNote = Class(TObject)
NoteID : Integer;
Descr : String;
Note : String;
CreatedByIDF : Integer;
DateTimeStamp : TDateTime;
ApplicableUserID : integer;
end;
TNotes = Class(TList)
Note : TNote;
procedure ClearList;
procedure RetrieveFromDB; overload;
procedure RetrieveFromDB(AWhereClause: String); Overload;
procedure Save(ATask: TNote);
procedure Update(ATask: TNote);
procedure FillObject(AControl: TWinControl);
procedure Delete(ANote : TNote);
class function Singleton: TNotes;
end;
i want to update the current field of TNote with values from the edit boxes,dont want to create an instance of TNote everytime i update a record. The changes must be updated in the database.I have used ADOQuery object for my sql. Is it possible not to create the instance of TNote everytime i update? Please help
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Pascal and Delphi Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC