user to see execution running

Post Reply
Ehab Samir Aziz
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

user to see execution running

Post by Ehab Samir Aziz »

What msg function should be used to run showing variable counter for the user like the recno()/reccount() while do while !eof().
Ex:.

please wait..........processing record 35/2232.
User avatar
jllinas
Posts: 189
Joined: Fri Oct 14, 2005 12:33 am
Location: Santo Domingo, Dominican Republic
Contact:

Post by jllinas »

Hi,

I use MSGRUN()

You can see how to use this at SAMPLES\TESTMSG.PRG

Regards,
Julio Llinás
Visita mi Blog en http://mangucybernetico.blogspot.com/
xHarbour 1.1.0 + FWH810 + Borland 5.5.1
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

I suggest doing it in the message bar.
Ehab Samir Aziz
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Post by Ehab Samir Aziz »

how can I put the code clock inside msgrun the run :
? recno()/reccnount()

or Even How can I use it with the message bar ?
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

cReccount:= reccount()

DO WHILE ! eof()

wndMain():oMsgBar:setMsg( "Processing record "+ trim(str(recno()))+"/"+cReccount )
Marcelo Via Giglio
Posts: 1033
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Post by Marcelo Via Giglio »

Hola,

you can use

DEFINE DIALOG oDlg .....


ACTIVATE DIALOG oDlg.. NOWAIT

process ...... n/m

oDlg:end()
Post Reply