Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This is not recommended, but can I get away with it?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00672392
Message ID:
00672416
Vues:
9
Steve,

Do you have any clue as to how it shows "Agency" as an object? Is the Agency table in a database? Do you indeed have some object named Agency (maybe as a result of a SCATTER...NAME earlier?

I don't think that what you describe is bad form.

good luck

>I have a DBF named Agency
>In the Agency DBF...
>I have a field named Agency
>I have an index named Agency
>
>After I SCATTER MEMVAR MEMO and THISFORM.Refresh
>I get the error Data Type Mismatch.
>
>The Locals Window shows Agency as OBJECT
>The Locals Window does not show Agency as CHARACTER FIELD.
>That causes the error Data Type Mismatch. I proved this when
>I renamed the Agency field to Agency _ID and the error disappeared.
>
>Is there any way I can use the same name for a DBF and a field and an index? I know it's not good practice or it may be illegal, but so many applications use the Agency DBF that changing the field name would cause an avalanche of changes in other projects and forms.
>
>Any way to get this to work without changing the field name? Thanks for your ideas?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform