
Large number of records in VX-REXX container
I have a container which has 8 fields and works good for a small number of
records (under 100, but slow). The first person I gave the application to
seleceted a 1,000+ records to load into the container. It ran for about 30 min
before it went out on an error and locked up that OS/2 window. So I put in a
record limit with a message to change the selection criteria (not nice! but bett
er then locking up).
The only way I could get rid of the window is to RE-BOOT. When it was thrashing
away I could not stop it with a Ctrl-C or anything else. I could not close the
window after it stoped. Is there a way to stop it or close it?
Tom Koenig
University of Wisconsion-Madison
DoIt
I'm using VX-REXX 2.1 to write a news reader application that uses a
container in detail view to list the articles in a newsgroup. If the
container has a large number of records, say over 1000, it takes
several seconds for the call
ok = VRMethod("CN_1", "GetRecordList", "SourceOrSelected", "handle.")
to return the currently cursored/selected record(s). It seems to
sequentially scan every record in the container, because the execution
time is proportional to the number of records. Is there a faster
method of finding the currently cursored record in a container?
Or is it time for me to take the leap into PM programming?
--