Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > DB-Aware

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 11-11-2000, 10:51 AM
N/A
Guest
 
Posts: n/a
Default how to use complex index with dbase table

hello, i need help !

i use a dbase table with 3 float fields
and two of them together makes a record unique.
how to build a unique index based these two fields (with database desktop or from code)
how to find record in this table with locate - or any other - method

regards,
Tom
Reply With Quote
  #2  
Old 11-11-2000, 10:59 AM
N/A
Guest
 
Posts: n/a
Default RE: how to use complex index with dbase table

When you setting up the indexes of this table , you can choose that the indexed field be unique, there is a option there. I use it all the time, when you try to duplicate a record it won't be succesfull.. as for the locate function it's easy : Locate('searchtext',Table['field'],[loCaseInsensitive])

Neeltampa@hotmail.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:40 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.