The following Access Visual Basic function opens a channel with an IBM 5250 emulator session ,creates a recordset from a table in a Microsoft Access Database, writes to the session and searches the screen for error messages.
Please note that text that is preceded by a single quotation mark and that is colored green are comments that are ignored by the compiler.
Option Compare Database
Private GuidePtSource As Database
Private GuidePtList As Recordset
Option Explicit
Private Sub AddNumbers_Click()