🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #3682

INDEXING PROBLEM

#3682
From: G�khan �ATALKAYA
Date: Fri, 05 Jul 2002 07:04
44 lines
1842 bytes
Hi;

I have created an index on a paradox 7.0 table named teminat_tbl with the
following command.

create index index1 on teminat_tbl (term_no)

And I have the following code to sort the table to the term_no

Table1->Active = false;

Table1->IndexDefs->Update();

for (int i = 0; i < Table1->IndexDefs->Count; i++)
  if (Table1->IndexDefs->Items[i]->Fields == AnsiString("TERM_NO"))
  {
        Table1->IndexName = Table1->IndexDefs->Items[i]->Name;
    break;
  }

Table1->Active = true;


Everything is OK in Compile Time But i have taken an error message in run
time like

Project raised exception class EDBEngine Error with message 'index is read
only'. Process stop. Use Step or Run to Continue.


Do yu think what causes the problem, and hhow can i overcome it?

Thank you.




--
G�khan �ATALKAYA

Oyakbank A.�.
Halit Ziya �b.
Smard Card Dep.
System Admin.
Technical Details
Message-ID: <3d2544ee_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!news-west.rr.com!news-out.newsfeeds.com!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!oleane.net!oleane!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,7678bc9000d36f2c,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-07-05 00:10:31 PST
From: "G�khan �ATALKAYA" <gcatalkaya@ttnet.net.tr>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: INDEXING PROBLEM
Date: Fri, 5 Jul 2002 10:04:13 +0300
Lines: 50
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 195.175.217.179
Message-ID: <3d2544ee_1@dnews>
X-Trace: dnews 1025852654 195.175.217.179 (5 Jul 2002 00:04:14 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!news-west.rr.com!news-out.newsfeeds.com!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!oleane.net!oleane!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews