Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Entry data on GRID
Message
From
14/04/2008 14:55:28
 
 
To
14/04/2008 14:41:04
Fabian Borghi
Xenon Information Technology
Itaparica, Brazil
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01310320
Message ID:
01310504
Views:
14
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform