Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Entry data on GRID
Message
 
 
To
13/04/2008 19:45:41
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:
01310376
Views:
11
>Hi All:
>I need help on this.
>Now the grid function well but just replace the total field on first record.
>LostFocus on text1 in all columns.
>Just functuion in record 1
>on others records replace on 3/4/5/6 function well but not on 7 (total)
>
>REPLACE tempnota.teste WITH thisform.grid1.column3.text1.Value
>REPLACE tempnota.prova WITH thisform.grid1.column4.text1.Value
>REPLACE tempnota.qualit WITH thisform.grid1.column5.text1.Value
>REPLACE tempnota.outros WITH thisform.grid1.column6.text1.Value
>
>REPLACE tempnota.total WITH tempnota.teste + tempnota.qualit + tempnota.prova + tempnota.outros
>thisform.grid1.column7.text1.refresh
>
Hi Fabian,

Why do you need 4 first replaces? If your grid is bound to Tempnota table you don't need 4 first replaces at all.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform