In the HMG program you do not SAY, GET, READ but have a TEXTBOX instead of SAY / GET, or what do you do when the value is entered? What are READ instead?
Look attention to ON clauses and you see that you have CHANGE, GOTFOCUS, LOSTFOCUS and ENTER and make the functions you need when entering the field@ <nRow>, <nCol>
TEXTBOX <ControlName>
[ OF | PARENT <ParentWindowName> ]
[ HEIGHT <nHeight> ]
[ WIDTH <nWidth> ]
[ FIELD <FieldName> ]
[ VALUE <cValue> ]
[ READONLY ]
[ FONT <cFontName> SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <ToolTipText> ]
[ BACKCOLOR <aBackColor> ]
[ FONTCOLOR <aFontColor> ]
[ DISABLEDBACKCOLOR <aDisabledBackColor> ]
[ DISABLEDFONTCOLOR <aDisabledFontColor> ]
[ MAXLENGTH <nInputLength> ]
[ UPPERCASE ]
[ LOWERCASE ]
[ NUMERIC ]
[ PASSWORD ]
[ ON CHANGE <OnChangeProcedure> ]
[ ON GOTFOCUS <OnGotFocusProcedure> ]
[ ON LOSTFOCUS <OnLostFocusProcedure> ]
[ ON ENTER <OnEnterProcedure> ]
[ RIGHTALIGN ]
[ INVISIBLE ]
[ NOTABSTOP ]
[ HELPID <nHelpId> ]
You can use everything to control input, but put ON LOSTFOCUS in the last field and write the function that will save the data there, so easy, isn't it?