friends i want to create a simple data-entry form using
DTC's. suppose this form is based on a table(emp) containing
one primary field(ename). i'm using 1 DTC recordset (recordset1,which
is based on sql-->select ename from emp where 1=2, since i
don't want to display any existing record, it has to be only
a data-entry form and not updateable form.), 1 DTC textbox(ename)
and a DTC button(save) which i want to use for saving the record.
now my problem is where and when to call addrecord() method?
i've achieved this goal by using a separate button by clicking which i
call this method. but i want this to happen automatically. so that
i only have to call updaterecord() when i press "save" button.
looking forward for your helping hand.