Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INKEY() error
Message
 
 
À
30/08/2007 11:51:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01251318
Message ID:
01251405
Vues:
41
>Christof,
>
>Can I ask you a related question ?
>
>Recently, in less than 1% of the occasions, a customer is getting wierd error - for me this is
>
>- vfp 6
>- a modeless form starts a modal form
>- on the modal form during the init of a grid
>
>
>&& error 107: Operator/operand type mismatch
>&& both n and Offset are initialized and numeric
>local i
>...
>....
>&& here
>for i = 1 to m.n - m.Offset
>
>
>
>&& other one
>local i
>
>for i = 1 to this.ColumnCount
>....
>&& on the endfor: error 27: not a numeric expression
>&& as if i would have become a string/logical
>endfor
>
>
>&& other one
>&& on the second line of the init: local cs
>this.ColumnCount = 8
>local cs  && here error 1960: illegal redefinition of variable cs
>
>
>
>Seems like something is kicking in from time to time and messing around with the variables
>No timers active
>Always during the init of a grid when starting a modal form
>
>Would you have any idea ? I don't - the skip form clauses in the menu ?

Hi Gregory,

Just a guess - could be that you're having i as a field name? And that you already defined cs variable at the top of the code somehow?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform