Versions Compared

Key

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

Opening the session connects the user to the host. 
'open Session
iRet = LceOpenSession

     'open Session
iRet = LceOpenSession(iSession)

...

 
'-----------------------------

...

     If iRet = LceFalse Then
    MsgBox "Open Session failed"
    End
End If
Note
Note: Normally, you only need to open one session. One example of when you may want more than one session is when you want to access other files while receiving records using a select with *RECEIVEIMMED mode.