When I run a program for netting (The process of calculating net requirements in an MRP system) I want to show how many items have been processed.
This will not work
But this will work
But I can not click ok 51 times.
I have tried different methods, DIALOG DOEVENT for example, but nothing works.
Someone who has better knowledge than me?
/Fim W.
This will not work
Code:
INCR ART_ANTAL IF ART_ANTAL MOD 1000 = 0 THEN ' Number of Items, in all c:a 51,000 CONTROL SET TEXT HD, %ART_ANT, TAL2TXT(KOM, STR$(ART_ANTAL)) CONTROL SET TEXT HD, %ARTBEN , ART.ARTBEN CONTROL SET TEXT HD, %ARTNR , ART.ARTNR CONTROL SET TEXT HD, %LN_AKT , TAL2TXT(KOM, STR$(ART.LN)) END IF
Code:
INCR ART_ANTAL IF ART_ANTAL MOD 1000 = 0 THEN ' Number of Items, in all c:a 51,000 CONTROL SET TEXT HD, %ART_ANT, TAL2TXT(KOM, STR$(ART_ANTAL)) CONTROL SET TEXT HD, %ARTBEN , ART.ARTBEN CONTROL SET TEXT HD, %ARTNR , ART.ARTNR CONTROL SET TEXT HD, %LN_AKT , TAL2TXT(KOM, STR$(ART.LN)) ?ART.ARBEN' <<=======================
I have tried different methods, DIALOG DOEVENT for example, but nothing works.
Someone who has better knowledge than me?
/Fim W.
Comment