Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with VFP 6 and dates
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00198872
Message ID:
00200322
Vues:
13
>What I did :
>
>DEFINE CLASS TitularesDocumentosEnvironment AS SPIEnvironment
> FUNCTION LoadCursors()
> DIMENSION this.aCursors[2]
> this.aCursors[1] = 'v_Titulares_Documentos'
> this.aCursors[2] = 'v_Titulares_Documentos_Todos'
> ENDFUNC
>
> FUNCTION Init()
> LOCAL luRetVal, lnSelect
> luRetVal = EVAL(This.ParentClass+"::Init()")
> lnSelect = SELECT()
> SELECT v_Titulares_Documentos
> INDEX ON STR({^2100-12-31} - dt_documento, 5) TAG DATA
> INDEX ON TiraAcento(UPPER(LEFT(rf_documento, 50))) TAG REFERENCIA
> INDEX ON nu_registro TAG REGISTRO
> INDEX ON od_tipo_documento + STR({^2100-12-31} - dt_documento, 5) TAG TIPO
> SET ORDER TO TAG TIPO
> SELECT (lnSelect)
> ENDFUNC
>
>ENDDEFINE

José,

I am afraid I can't go any further. I tried similar code in VFP 5 and all is fine. Don't have VFP6 yet.

José
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform