General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2003 Server
Hello Naomi
Thanks for your reply, but i need you help because i'am not a professional developer and in your reply you say :
Forgot to mention, that you may create a method UpdateTotals() for the form with the code I posted earlier
(only remove Check = .t. and use just Check) and call this method from Check.Click event
select MyTable
sum TotalInvoice to lnTotal
thisform.txtTotal.value = m.lnTotal
this.value = this.value
thisform.UpdateTotals()
my first question is :
how can build method UpdateTotals() and where i place them on the form init procedure ??
second:
this code
select MyTable
sum TotalInvoice to lnTotal
thisform.txtTotal.value = m.lnTotal
where i place them ? .
I think you tell me to place on the click event of my column Check1 this code :
this.value = this.value
thisform.UpdateTotals()
but , like i say in my first question , where i place an build the method :
method UpdateTotals()
Actually , in my code i have 3 procedure on my column check1 :
Click,InteractiveChange and LostFocus.
Maybe it´s to much for execute what i need ?
Sorry, but like i said i'am not a professional programmer. could you give me some help.
Many thanks Naomi
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