function Delete()
{
var nSelected = BrwSelCount( oFrame );
if( nSelected == 0 )
{
MsgInfo( "Please select one record to edit" );
return;
}
else if( nSelected > 1 )
{
MsgInfo( "Please select only one record to edit" );
return;
}
OnYes = function()
{
oDlg.End();
oFrame.src = "http://www.fivetechsoft.com/fivegen/delete.php?table=" + Alias() +
"&recno=" + BrwSelRecord( oFrame );
};
MsgYesNo( "Do you want to delete it ?", OnYes );
}
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 77 guests