Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
USE MyTable
nHandle = FOPEN('C:\sn.txt')
IF nHandle < 0
WAIT WINDOW 'Error opening file' TIMEOUT 1
RETURN
ENDIF
DO WHILE !FEOF(nHandle)
nStr = FGETS(nHandle)
IF 'Serial Number' $ nStr
STORE RIGHT(ALLTRIM(nStr), 9) TO cSN
EXIT
ENDIF
ENDDO
m.serial = cSN
INSERT INTO serial FROM MEMVAR
CLOSE ALL