Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COLUMNS(I) in Form Init
Message
De
29/11/2002 18:20:57
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00727831
Message ID:
00728271
Vues:
22
>Armin,
>
>I still get the same error. Thanks anyway.
>I am using VFP6 if it makes any difference.

>>>THIS.PageFrame1.Page1.Grid1.COLUMNS(I).CONTROLSOURCE = RIGHT(CSstring, 25)

What is CSstring? Is it a global variable, or a field from the table the grid is sitting on? What is the content of this field/variable? If RIGHT(CSstring, 25) evaluates to a string, that string will have to contain an expression which would be able to stand as a controlsource.

I mean, it is possible that you're getting a wrong error here, simply because the expression doesn't evaluate to a proper controlsource string.

Again, as others have said, check your spelling. The (I) may mean different things, depending on the value of the variable i at the time this code runs, and if i is greater than the number of columns you have, that may well be the reason you're getting the message.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform