home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.paradox      To crash or not to crash, asks Borland      9,834 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 8,192 of 9,834   
   Liz McGuire to Egbert Babst   
   Re: SetGenFiltered TCursor and movetoRec   
   18 Feb 07 11:21:08   
   
   From: liz@paradoxcommunity.com   
      
   That would make it slightly harder to do what he wants as he needs to go   
   to record #1, read a value, then inside the loop, go to record #2 and   
   compare it to record #1, then repeat for every pair of records (or   
   something like that).  This kind of thing is easier in a loop where you   
   control the record movement rather than the loop controlling it.   
      
   Given what Anders had to say, I'm guessing a secondary index and   
   setRange would simplify life greatly.   
      
   FWIW,   
      
   Liz   
      
      
   Egbert Babst wrote:   
   > Craig,   
   > why not using a scan-loop instead?   
   > You could avoid the setGenFilter by using the for-clause of then scan like:   
   > scan TCBounce1 for TCBounce1."HospitalNumber"=stNewMR   
   > etc...   
   > endScan   
   >   
   > Egbert   
   >   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca