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.
//change this variable to your Print and stay in tender/media sequence
var print_tender : N4 = 506
event inq:1
Call LoadSQL
var sql_cmd : A2000
var OpenChecks : N4
format sql_cmd as "SELECT COUNT( chk_num ) ", "FROM micros.chk_dtl ", "WHERE chk_open = 'T'"
Call sql_query( sql_cmd )
OpenChecks = sql_cmd
format sql_cmd as "SELECT chk_num ", "FROM micros.chk_dtl ", "WHERE chk_open = 'T'"
Call sql_recordset( sql_cmd )
var i : N4
for i = 1 to OpenChecks
DLLCALL_CDECL sql_h, sqlGetNext( ref sql_cmd )
loadkybdmacro key(1, 327684), makekeys( sql_cmd ), @KEY_ENTER, @KEY_ENTER, key(9, print_tender)
endfor
endevent
//change this variable to your Print and stay in tender/media sequence
var print_tender : N4 = 506
//do not change
var sql_h : N12 = 0
event inq:1
Call LoadSQL
var sql_cmd : A2000
var OpenChecks : N4
format sql_cmd as
"SELECT COUNT( chk_num ) ",
"FROM micros.chk_dtl ",
"WHERE chk_open = 'T'"
Call sql_query( sql_cmd )
OpenChecks = sql_cmd
format sql_cmd as
"SELECT chk_num ",
"FROM micros.chk_dtl ",
"WHERE chk_open = 'T'"
Call sql_recordset( sql_cmd )
var i : N4
for i = 1 to OpenChecks
DLLCALL_CDECL sql_h, sqlGetNext( ref sql_cmd )
loadkybdmacro key(1, 327684), makekeys( sql_cmd ), @KEY_ENTER, @KEY_ENTER, key(9, print_tender)
endfor