> > After
> > k=SQLEXEC( ein_wert,"insert into tst (nam,famil) values ('jack', 'mueller')")
> >
> > check the value of k. If it is less than 0, use AERROR to see why the update did not take place.
> >
> > Why are you using SendUpdates and then setting UpdatableFieldList and UpdateNameList to blank.
> >
> > Regards
> > Tushar
>
>
> Hello,
>
> the value of k ist = 1.
> What should i insert in SendUpdates, UpdatableFieldList and UpdateNameList instead of blank ????
> Thx
Since you are using SQLEXEC to add records, you should not use SendUpdates otherwise you will add 2 records. But since you are using CursorAdaptors, it is better to use SendUpdates instead of SQLEXEC.
Actually, if k is 1, then your records should have been added. Try CursorFill again and browse to see if the records are there.
Check out Bernard's articles on cursor adaptors in the articles section of this site.
Regards
Tushar