Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Entry data on GRID
Message
From
14/04/2008 12:18:07
 
 
To
14/04/2008 11:55:48
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:
01310419
Views:
14
Fabian,

you clearly have started in the wrong end, so to speak. This so easy that you will laugh about it afterwards. Do NOT bind column 7 to any field in your table!!!!!
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'
If you absolutely need a field for total in your table, update it in the grid's AfterRowColChange event!
replace tempnota.total with tempnota.teste + tempnota.qualit + tempnota.prova + tempnota.outros in tempnota
>Cause i become crazy whit that.
>First i tried to replace just the field involved on column, but when i did the replace on TOTAL don't work just did the replace on first record.
>
>When i'm moving on grid i opened the data session window to see if i'm moving into table too, and i move but when i do the replacement just replace the first record.
>
>I'm desesperate with this.
>
>Thx in advance
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform