Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement