Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread DBISAM 'Compound' Index question
Sun, Jul 8 2007 4:45 AMPermanent Link

"Ian Branch"
Hi Guys,

   I have a table with an Invnumb field which is an Integer, and a Partnum field
which is a string.

   I need to create a descending index of the type str(invnumb,6)+partnum.

   None of the DBISAM tools allow me to do it.

   Is such an index permissable in DBISAM?
   
   If yes then I take I will have to create it programatically?

Regards & TIA,

Ian
   

--
Sun, Jul 8 2007 6:09 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Ian

Just use DBSys. Alter table and the Index tab. Depending on the version you'll be able to create a descending index or (with the later V4) specify which
fields are descending or ascending.

Roy
Sun, Jul 8 2007 6:39 AMPermanent Link

"Ian Branch"
Roy Lambert wrote:

> Ian
>
> Just use DBSys. Alter table and the Index tab. Depending on the version
> you'll be able to create a descending index or (with the later V4) specify
> which fields are descending or ascending.
>
> Roy

Hi Roy,

   DBSys allows me to assemble an index which is invnumb,partnum descending but
when I try to save it, it falls over.  I suspect due to the mix of Integer &
character fields.

Regards

--
Sun, Jul 8 2007 7:31 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Ian

Just tried it and it's fine here. Which version of DBISAM? I'm on 4.25.
Mon, Jul 9 2007 7:09 AMPermanent Link

"Ian Branch"
Roy Lambert wrote:

> Ian
>
> Just tried it and it's fine here. Which version of DBISAM? I'm on 4.25.

Yup.  4.25.  Strange.

--
Mon, Jul 9 2007 9:48 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Ian


Corrupted table?

Roy Lambert
Mon, Jul 9 2007 5:09 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ian,

<< DBSys allows me to assemble an index which is invnumb,partnum descending
but when I try to save it, it falls over.  I suspect due to the mix of
Integer & character fields. >>

What do you mean by "falls over" ?  Are you getting an error message ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Image