Index on problem

Index on problem

Postby cdmmaui » Fri Mar 26, 2010 12:39 pm

Hello,

I am having a strange problem running on a terminal server connecting to ADS on a Windows 2008 server. I am building index keys for a database and the system is only keeping the last index from each file, in the sample below, the only keys kept are txno+arcode TAG S6 in &Pdd.ropx01.cdx and txno+STR( invbal-recv, 12, 2 ) TAG SH in &Pdd.ropx02.cdx (DESCENDING). If I run the same exact process on Windows Server 2008, the search keys are built correctly.

Does anyone have any ideas what would cause this problem?

Thank you,

INDEX ON txno+ref TAG S1 TO &Pdd.ropx01.cdx
DBCLEARINDEX()
SysRefresh()
INDEX ON ref TAG S2 TO &Pdd.ropx01.cdx
DBCLEARINDEX()
SysRefresh()
INDEX ON txno+ourref TAG S3 TO &Pdd.ropx01.cdx
DBCLEARINDEX()
SysRefresh()
INDEX ON txno+bl TAG S4 TO &Pdd.ropx01.cdx
DBCLEARINDEX()
SysRefresh()
INDEX ON txno+DTOS( refdate ) TAG S5 TO &Pdd.ropx01.cdx
DBCLEARINDEX()
SysRefresh()
INDEX ON txno+arcode TAG S6 TO &Pdd.ropx01.cdx
DBCLEARINDEX()
SysRefresh()
INDEX ON txno+ref TAG SA TO &Pdd.ropx02.cdx DESCENDING
DBCLEARINDEX()
SysRefresh()
INDEX ON txno+DTOS( refdate ) TAG SB TO &Pdd.ropx02.cdx DESCENDING
DBCLEARINDEX()
SysRefresh()
INDEX ON txno+ourref TAG SC TO &Pdd.ropx02.cdx DESCENDING
DBCLEARINDEX()
SysRefresh()
INDEX ON txno+bl TAG SD TO &Pdd.ropx02.cdx DESCENDING
DBCLEARINDEX()
SysRefresh()
INDEX ON txno+arcode TAG SE TO &Pdd.ropx02.cdx DESCENDING
DBCLEARINDEX()
SysRefresh()
INDEX ON txno+STR( invbal, 12, 2 ) TAG S7 TO &Pdd.ropx02.cdx
DBCLEARINDEX()
SysRefresh()
INDEX ON txno+STR( invbal, 12, 2 ) TAG SF TO &Pdd.ropx02.cdx DESCENDING
DBCLEARINDEX()
SysRefresh()
INDEX ON txno+STR( recv, 12, 2 ) TAG S8 TO &Pdd.ropx02.cdx
DBCLEARINDEX()
SysRefresh()
INDEX ON txno+STR( recv, 12, 2 ) TAG SG TO &Pdd.ropx02.cdx DESCENDING
DBCLEARINDEX()
SysRefresh()
INDEX ON txno+STR( invbal-recv, 12, 2 ) TAG S9 TO &Pdd.ropx02.cdx
DBCLEARINDEX()
SysRefresh()
INDEX ON txno+STR( invbal-recv, 12, 2 ) TAG SH TO &Pdd.ropx02.cdx DESCENDING
DBCLEARINDEX()
SysRefresh()
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Re: Index on problem

Postby karinha » Fri Mar 26, 2010 3:06 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7808
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Index on problem

Postby cdmmaui » Fri Mar 26, 2010 3:10 pm

Thank You, however that was a different issue related to the field length which exceeded the maximum. I am able to get search keys built on the server itself, but not on the terminal server.
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Silvio.Falconi and 115 guests