You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

[ |../../index.htm#lansa/srvgudba_0460.htm]
You are here:

6.58.1 VB Example

Private Sub txtCode_Change()
    ' whenever txtCode changes, set field value. 
    ' This is safer than using lost focus, as the field can
    ' change without getting focus 
 
    Dim iRet As Integer
 
    If txtCode <> "" Then
        iRet = LceSetFieldValue(iSession, "SKILCODE", txtCode)       
    Else
        ' "" is not a null terminated string
        iRet = LceSetFieldValue(iSession, "SKILCODE", vbNullString)
    End If
End 
 
[ |../../index.htm#lansa/srvgudba_0460.htm]

  • No labels