Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[ Image Removed |../../index.htm#lansa/vgudb9_0080.htm]
You are here:

...

Deleting

...

Deleting a record is similar to finding one. The key value has to be set with SetFieldValue. In this case, this step is skipped, as it is already set.
 
Private Sub cmdDelete_Click()
    
    
    iRet = LceDelete(iSession, "SKLTAB", "SKILCODE", LceFalse)
    '---------------------------------------------------------
    If iRet = LceTrue Then
        ' refresh list so deleted skill doesn't show
        Call RefreshSkillsList
    End If
    
End Sub
[ Image Removed |../../index.htm#lansa/vgudb9_0080.htm]