HI Friends,
I want a button on a form , which when i click saves the data and removes all filled values , so that user can fil the form again.
How to do this ?
thanks
HI Friends,
I want a button on a form , which when i click saves the data and removes all filled values , so that user can fil the form again.
How to do this ?
thanks
In your form > Button, overrirde the click method and write the following after super :
YourTable_ds.write();
YourTable_ds.create();
HI vishal ,
it is not working .
Hi Manish,
Example:
The Form Contain one StringEdit Control Name as DetailTextBox
Make Sure the AutoDeclaration Yes for DetailTextBox Property,
And there is a one Table name as Detailtable whihc contail one Field name as Detail
Now the Form having one Button , in that Button Clicked Override method you have to write like this
////////////////////
void clicked()
{
Detailtable detailTable;
;
super();
detailTable.Detail = DetailTextBox.valuStr();
detailTable.doInsert();
DetailTextBox.text(’ ');
}
////////////////////////////////////////////////////////////
Hope this will work