Board index » delphi » AppendRecord Problem with Autoincrement Key Fields
Richard Bateman
![]() Delphi Developer |
Fri, 09 Feb 2001 03:00:00 GMT
AppendRecord Problem with Autoincrement Key Fields
Anyone That Can Help;
This is the code: unit Unit1; procedure TForm1.Button1Click(Sender: TObject); //-- the Paradox 7 table definition for FORUMS.DB is: Field Name Type Size Key Required Default //-- and here is the error I get when it runs: If I remove the line with AppendRecord() in it and replace it with Append; The interesting thing is that if the code is compiled under Delphi3, it Does anyone have any suggestions about using AppendRecord() under these "This statement appends a record to the Customer table. Note that Nulls Customer.AppendRecord([CustNoEdit.Text,CoNameEdit.Text, AddrEdit.Text, Richard Bateman |