Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INKEY() error
Message
De
30/08/2007 12:36:21
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01251318
Message ID:
01251417
Vues:
48
>>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?

No Nadya,

(1) Even I would have spotted that
(2) i is no field name
(3) it would occur every time and not on occasion

Thanks,
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform