CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Increment Field Count Not Updating

Print topic Send  topic

Author Message
Dreamcatchers


Posts: 120
Posted: 07/19/2010, 2:02 PM

I am building a Knowledge Management System and want to increment the number of time an article is used. I do this by having the user check a box called Relevant and then hit update.

So I added custom code the the record on the "before Update" event.
Problem is it does not seem to be executing. The usage field never gets updated.

Should I place the code with another event?

----------
Function Helpdesk_SupportArticles1_BeforeUpdate(Sender) 'Helpdesk_SupportArticles1_BeforeUpdate @23-B8CD9A5D

'Custom Code @73-73254650
' -------------------------


if helpdesk_supportarticles1.Relevance.Value = 1 then
helpdesk_supportarticles1.Useage.Value = helpdesk_supportarticles1.Useage.Value + 1
Else
End if
' -------------------------
'End Custom Code

End Function 'Close Helpdesk_SupportArticles1_BeforeUpdate @23-54C34B28


_________________
Training and LMS Developer
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.