Rohit You don't, you add it to the dataset :-)
look at http://community.borland.com/article/0,1410,16467,00.html Neven ----- Original Message ----- From: "Rohit Gupta" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 12:43 PM Subject: [DUG]: Adding Calculated Field > How do I go about adding a calculated field to a grid at run-time ? I > have tried various things - none of them work > > fielddefs.add > fielddefs.addfielddef > fields.add > Regards > > Rohit > > ==================================================== > ================== > CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New > Zealand > PH (649) 489-2280 > FX (649) 489-2290 > email [EMAIL PROTECTED] or [EMAIL PROTECTED] > ==================================================== > ================== > > -------------------------------------------------------------------------- - > 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/ > > --------------------------------------------------------------------------- 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/