Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Type Mismatch and I cannot find it.
Message
De
25/06/2002 11:40:09
Jorge Haro
Independent Consultant
Juarez, Mexique
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00671836
Message ID:
00672042
Vues:
10
I know this is not of much help right now, but you should really consider using some naming conventions in the future, in this case you'd have something like oAgency and cAgency, this would avoid errors like this one which are a pain to track down.

>Hi Nadya,
>
>Thanks for the coding tip.
>
>I think I found my problem. The DBF is named AGENCY.DBF and the first field in the DBF is named AGENCY Char 2. When I got the error and went into debugger and looked in the LOCALS window I saw AGENCY was TYPE "O" for object. It did not list the field AGENCY as TYPE "C" for character. This must be why I get the data type mismatch error. Also, AGENCY field is one of the indexed fields.
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform