General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2003 Server
Hello Naomi
Like i said , i need your help.
I create the new method
i place the following code on form in procedure INIT and UpdateTotals
on INIT
Public insere
insere=0
THISFORM.PROCVAL.Value = 0.00
local lnTotal as Double
Intotal = 0
select ccheques
sum valor to lnTotal for thisform.Grid1.column1.Check1 = .T.
thisform.total.value = m.lnTotal
on updatetotals
local lnTotal as Double
LnTotal = 0
select ccheques
sum valor to lnTotal for thisform.Grid1.column1.Check1 = .T.
thisform.total.value = m.lnTotal
on the column grid checkbox who as named check1, i place this code :
Procedure Click
this.value = this.value
thisform.UpdateTotals()
I put thisform.Grid1.column1.Check1 = .T., because without .T. VFP return error, but in this moment i have the following error :
error nº 107
message : Operator / Operand type mismatch
Line error nº : 8
Program/function : FORM1.INIT
Line of Code : _VFP.AutoYield = .F.
Sorry, can you help me
thanks
Luis Santos
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only