Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Entry data on GRID
Message
De
14/04/2008 14:55:28
 
 
À
14/04/2008 14:41:04
Fabian Borghi
Xenon Information Technology
Itaparica, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Divers
Thread ID:
01310320
Message ID:
01310504
Vues:
15
>2. Is the grid tied to a table or a cursor.
>Table
>
>3. Do you set the properties in code, or do you use the property sheet?
>
>Code
>
>I need to populate the grid with 4 diferent qualifications for each pupil and i need a total on column7, then, when the grid is complete i'll update another table with all the info on grid.
>
>But i need to have the total on column7, if not is so easy, i don't need to calculate nothing, but, i need....
>
>Thx in advance

In my message#1310419 I forgot one line:
thisform.grid1.Recordsource='tempnota' && I forgot this
thisform.grid1.column3.controlsource='tempnota.teste'
thisform.grid1.column4.controlsource='tempnota.prova' 
thisform.grid1.column5.controlsource='tempnota.qualit'
thisform.grid1.column6.controlsource='tempnota.outros'
thisform.grid1.column7.controlsource=;
  'tempnota.teste + tempnota.qualit + tempnota.prova + tempnota.outros'
This essentially is all you need, except to set the properties for column width and so on!

By the way, is the table blank when you start entering data? If so, you must add code to add blank records for new entries. And column7 must be readonly.

And please, please... enable auto quote as I explained earlier.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform