Re: Change name of field in table

Posted by WAllison on November 30, 2001:

In Reply to: Change name of field in table posted by Philippe on October 19, 2001 at 15:40:09:

: Hello,

: I want to change the field name in paradox table but i receive a message error index..
: I find the name but i can't change it

: edit1.text:=Tcours.fieldbyname('Date').fieldname;
: Tcours.close;
: Tcours.exclusive:=true;
: Tcours.Fields.Fields[1].FieldName:='Dates';

: Thank you for your help

: Philippe

i'd suggest closing the table after you try to modify it!

Related Articles and Replies

[ DelphiLand FAQ ] [ Delphi Tutorials ]