> Table1.Edit; // instead of Edit you can use Insert or Append if you
> wish to add a new record
> This piece of code checks if table is in Edit or Insert mode and if it's
> not then puts it in one.
> Hope it helps
> Lucijan;
> ONIX143 <onix...@aol.com> wrote in article
> <19991105021520.04095.00001...@ng-ff1.aol.com>...
> > I'm trying to create an database application but i'm getting this error
> > message. It halts on the area I marked.
> > I tried to put the Append Method on the mainform to change the mode to
> edit
> > mode (per what I understand on books), but nothing happens. Kindly give
> me
> > solution (s). Thanks in advance.
> > here's the portion my program stops:
> > program JobOrder;
> > uses
> > Forms,
> > mainform in '..\mainform.pas' {Main},
> > datagroup in 'tables\datagroup.pas' {dmDatagroup: TDataModule},
> > PasswordPop in 'PasswordPop.pas' {PasswordDlg},
> > about in 'about.pas' {AboutBox},
> > EditPop in 'EditPop.pas' {EditPopup};
> > {$R *.RES}
> > begin
> > Application.Initialize;
> > Application.Title := 'JOB TICKET';
> > Application.CreateForm(TMain, Main);
> > Application.CreateForm(TPasswordDlg, PasswordDlg); {=====HERE=====}
> > Application.CreateForm(TAboutBox, AboutBox);
> > Application.CreateForm(TdmDatagroup, dmDatagroup);
> > Application.CreateForm(TEditPopup, EditPopup);
> > Application.Run;
> > end.