Files
MBS/PROYECTOS/otrodir/clases.4gl
T

18 lines
401 B
Plaintext

FUNCTION clase()
DEFINE clase ui.ComboBox,
kcodn SMALLINT,
ddescripcion CHAR(60)
LET clase = ui.ComboBox.forName("formonly.codn")
CALL clase.clear()
DECLARE busca CURSOR FOR
SELECT a.cod_n,a.producto FROM iptb00020 a
ORDER BY a.producto
FOREACH busca INTO kcodn,ddescripcion
CALL clase.addItem(kcodn,ddescripcion)
END FOREACH
END FUNCTION