For Programmers: Free Programming Magazines  


Home > Archive > Clipper > July 2007 > Structural indexes









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Structural indexes
Martin

2007-06-21, 9:55 pm

Hello

I am moving from different named DBFs and CDXs to same name so I do not have
to do ORDLISTADD()

I can't get my programme to do auto open, any ideas on what to look for,
5.3B ADS7.1 and DBFCDX


dlzc

2007-06-21, 9:55 pm

Dear Martin:

On Jun 21, 7:02 am, "Martin" <spams...@spam.spam> wrote:
> Hello
>
> I am moving from different named DBFs and CDXs
> to same name so I do not have to do ORDLISTADD()
>
> I can't get my programme to do auto open, any
> ideas on what to look for,
> 5.3B ADS7.1 and DBFCDX


There is a bit in the header that must be set, in order to auto open.
http://ulisse.elettra.trieste.it/se...e/DBFstruct.htm

If the database engine tries to open the dbf and the cdx is not
present, the bit is turned off.

You might try noting the "orderbags" in the index, "set order to",
then recreate the index.

http://www.itlnet.net/Programming/P...3c/ng3f081.html

David A. Smith

Stephen Quinn

2007-06-21, 9:55 pm

Martin

If the DBF and CDX don't have the same name
Eg
FRED.DBF
FRED.CDX

then you need to use
SET INDEX TO whatever
ie the same as you'd use for NTX

Autoopen only works when both have the same name.

--
CYA
Steve


Stephen Quinn

2007-06-21, 9:55 pm

Martin

That should be

If the DBF and CDX have the same name then autoopen works
Eg
FRED.DBF
FRED.CDX

If the DBF and CDX don't have the same name
Eg
FREDDO.DBF
FRED.CDX

then you need to use
USE FREDDO
SET INDEX TO 'FRED.CDX'
ie the same as you'd use for NTX

Autoopen only works when both have the same name.

--
CYA
Steve


Martin

2007-06-22, 7:55 am

I have rebuilt as same name so very puzzled.


Turan Fettahoglu

2007-06-22, 7:55 am

> If the DBF and CDX don't have the same name
> Eg
> FREDDO.DBF
> FRED.CDX
>
> then you need to use
> USE FREDDO
> SET INDEX TO 'FRED.CDX'


Tell me one reason why the .DBF and the .CDX should have a different name!
frank van nuffel

2007-06-22, 7:55 am

"Turan Fettahoglu" wrote in message news:f5gf98$tgd$1@svr7.m-online.net...
> Tell me one reason why the .DBF and the .CDX should have a different name!


perhaps, when one doesn't want the index to be structural?

f


dlzc

2007-06-22, 9:55 pm

On Jun 22, 3:02 am, "Martin" <spams...@spam.spam> wrote:
> I have rebuilt as same name so very puzzled.


Have you tried this:
http://www.ousob.com/ng/ads/ng274d.php
.... more generally
http://www.ousob.com/ng/ads/

I don't know if "5.5" is close enough to your "7.1" to matter...

Best of luck. (I don't use ADS, and never have.)

David A. Smith

Stephen Quinn

2007-06-23, 3:55 am

Turan

> Tell me one reason why the .DBF and the .CDX should have a different name!


It's up to the developer what he/she names the index.

I'm just pointing out that structural indices must have the same name as the DBF if AutoOpen is to
work for them

--
CYA
Steve


470

2007-06-26, 4:48 pm

Christina Aguilera Wired pussy!

http://www.theillegalsite.com/PlayMovie.php?id=1673286

hindi movie review free download adult 3gp video 100 free movie download great blow job clip michael jackson dance video
homemade sex video clip free black porn video [url=http://new-dam-hussein-execution.org/life-of-dam-hussein.html]life of dam hussein[/url] free xxx video site musica gratis bachata
video sexo xxx video gratis de sexo xxx tuto windows movie maker hdv free valentine day clip art free hidden video xxx
download free game psp video funny clip for kid scary movie 4 cover madonna book funny web video

musica gratis para cellular
magic johnson movie theater
funny video clip and game
animal sex movie
free sex teen video
movie porn oral free download
adult download jap video
free full length porn video
angelina jolie picture
music raven symone tube video
Erha

2007-06-27, 1:06 pm

Jessica Simpson strips of pantyhose!

http://www.thetubebender.com/PlayMo...eg?watch=726648
3v1l_l33t

2007-07-05, 6:04 am

LESBlAN HARDC0RE!
http://girls-with-girls.info/movplay.php?f=218571
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com