dc_getprogress

This forum is for eXpress++ general support.
Post Reply
Message
Author
bwolfsohn
Posts: 649
Joined: Thu Jan 28, 2010 7:07 am
Location: Alachua, Florida USA
Contact:

dc_getprogress

#1 Post by bwolfsohn »

Roger,

Have a problem with dc_getprogress..

this is the get
@ 5,1 DCPROGRESS oProgress SIZE 50,1 PERCENT COLOR STA_BG1COLOR MAXCOUNT mail->(recc()) ;
EVERY int(mail->(recc())/100)


and this is what's called during the process..

DC_GetProgress( oProgress, MAIL->(RecNo()) )

there is no mail index active, but the progress bar is all over the place.... the % indicator in the middle of the progress bar is correct, just the colored bar is going crazy!!
64,724 records
i see it in 257 and 258...

any thoughts ??
Where did i screw up ?? :think:
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: dc_getprogress

#2 Post by rdonnay »

You must be skipping through an index.
Record numbers will jump all over the place if an index is set.
The eXpress train is coming - and it has more cars.

bwolfsohn
Posts: 649
Joined: Thu Jan 28, 2010 7:07 am
Location: Alachua, Florida USA
Contact:

Re: dc_getprogress

#3 Post by bwolfsohn »

i did a wtf and the record numbers were consecutive (for the 1st few hundred, then i got tired of watching)

after reading your message i did an ordsetfocus(0), and,

as always...

you're right.. :)
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises

Post Reply