Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with GenDBCX
Message
De
29/12/1999 08:21:46
 
 
À
28/12/1999 14:24:13
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00309332
Message ID:
00309768
Vues:
29
Hi, Nancy!

>
>I see. I didn't read your message carefully. Sorry about that.

Hey, no need to apologize yourself. :-)


>I'm not using Steve's utility anymore, so I'm not familiar with his code in >the CreateIndices method. Have you stepped through it? What is the error? Is >the problem that the method assumes that the table is not indexed (rather than >assuming indices might be missing)?

I deliberately deleted a cdx file from my HD (movprod.cdx). This is a situation in which I already passed with an user (yes, they deletes CDX files, and sometimes even DBC files :-( )

Then, I need to regenerate this file.

Well, here goes some lines of code generated by GenDBCX:

CASE tnPassNumber = 3
IF !USED('MOVPROD')
USE MOVPROD AGAIN IN 0 ALIAS MOVPROD
ENDIF
SELECT MOVPROD
***** Create each index for MOVPROD *****
SET COLLATE TO 'GENERAL'
INDEX ON DMOVIMENTACAO TAG DMOVIMENTA
INDEX ON IDPRODUTO TAG IDPRODUTO
INDEX ON DELETED() TAG DELETADOS
INDEX ON IDPRODUTO+DTOS(DMOVIMENTACAO) TAG MOVPROD

The first error ocurred is:
Database is invalid. Please validate.

:-(
Claudio Lassala
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform