Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating on a GRID
Message
De
12/08/1998 08:39:01
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00125215
Message ID:
00125952
Vues:
16
VFP will take property sheet values in consideration during grid initialization (behind the scene) when sometimes recordsource cursor doesn't exist yet, and can trigger error 'variable expected to be use as controlsource'. If you fire the same thing programmatically, then you know at least where to debug.

>Hi Edward,
>I notice you mention avoiding entering calculations directly onto the property sheet. I do have problems with this, but I'm wondering if you could explain why it's better to do it programmatically.
>Thanks!
>
>>>i could not get the following to work in the pem. controlsource at the column. method calc_int at the grid.
>>>
>>>controlsource this.parent.calc_int("xxx_loan")
>>>
>>>thanks - brenda
>>
>>Few notes:
>>1. What is 'xxx_loan'?
>>2. The syntax should be Column.Controlsource="thisform.custommethod(parm1,parm2..)"
>>If you want to type it directly to property sheet (which better be avoided) add '=', i.e. =thisform.....
>>3. Don't cut off previous part of UT thread when you reply, because it creates difficulties for potential answerers.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform