Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!bsu-cs!mithomas From: mithomas@bsu-cs.bsu.edu (Michael Thomas Niehaus) Newsgroups: comp.databases Subject: dBase question Keywords: sequential seek Message-ID: <6666@bsu-cs.bsu.edu> Date: 9 Apr 89 07:40:10 GMT Organization: CS Dept, Ball St U, Muncie, IN, USA Lines: 25 I hate to ask questions specific to dBase III+, but I need a quick answer. Here's the situation: I have a database that has two indexes, the master index which in unique and another non-unique index on a string + date combination. I would like to switch to using the second index as the master (using SET ORDER) to do a search. To do this, I am doing this series of commands: LOCATE FOR .t. && Just point to the first record to initialize locate SEEK data-to-be-found && To do a quick move to the records that I want ...processing... CONTINUE && To advance to the next record as per the indexed order Can anyone tell me if this is a good idea? If not, how would you go about this? Thanks, Michael -- Michael Niehaus UUCP: !{iuvax,pur-ee}!bsu-cs!mithomas Apple Student Rep ARPA: mithomas@bsu-cs.bsu.edu Ball State University AppleLink: ST0374 (from UUCP: st0374@applelink.apple.com)