Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Btrieve > Re: Equivalent ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 7 Topic 913 of 1027
Post > Topic >>

Re: Equivalent of Get Next Extended to retrieve only unique keys?

by "Serge Nelissen" <spam@[EMAIL PROTECTED] > Apr 27, 2007 at 05:33 PM

Hello,

You could add a boolean (Duplicate) to the record. When inserting a
record, 
you could seek for the key. If it exists already, set the bool to 'true', 
otherwise false. In the filter for the GNE, you can then filter on the 
boolean to be false.

Serge

"Jason Gilbert" <dev@[EMAIL PROTECTED]
> wrote in message 
news:4608085d$0$14098$742ec2ed@[EMAIL PROTECTED]
> I'm writing a program that uses a Get Next Extended to pre-load position

> information about records in a fairly-large database by loading x number

> of records at a time.  This works pretty well performance-wise, except 
> that I only want to retrieve unique keys instead of every record.  The 
> filters on Get Next Extended can filter on static values or on values 
> within the record, but I don't see a way to be able to filter on
something 
> like "greater than previous record retrieved" or something like that. 
The 
> alternative of looping through the keys one at a time seems like it
would 
> be too slow.
>
> Can anybody think of a way to achieve something like this?
 




 7 Posts in Topic:
Equivalent of Get Next Extended to retrieve only unique keys?
Jason Gilbert <dev@[EM  2007-03-26 10:52:26 
Re: Equivalent of Get Next Extended to retrieve only unique keys
"Bill Bach" <  2007-03-26 20:35:19 
Re: Equivalent of Get Next Extended to retrieve only unique keys
Jason Gilbert <dev@[EM  2007-03-27 09:31:43 
Re: Equivalent of Get Next Extended to retrieve only unique keys
"Bill Bach" <  2007-03-28 09:01:25 
Re: Equivalent of Get Next Extended to retrieve only unique keys
Jason Gilbert <dev@[EM  2007-04-11 10:33:41 
Re: Equivalent of Get Next Extended to retrieve only unique keys
"Bill Bach" <  2007-04-15 17:54:26 
Re: Equivalent of Get Next Extended to retrieve only unique keys
"Serge Nelissen"  2007-04-27 17:33:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 12:53:06 CDT 2008.