CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Editable Grid - Won't update values for hidden txtbxes

Print topic Send  topic

Author Message

Posts: 7
Posted: 09/27/2010, 12:45 PM

I'm working in ASP, with Codecharge

I used the Example Pack Code (EditableGridAddButton), which i have working fine.
But, i have 4 textboxes that are hidden that i need to add a value for after a listbox value changes. If I display the textboxes on the screen, I have been able to make them fill, but if i leave them hidden, no matter where i put code, they will not fill, it leaves a null value in the db.

Currently I have this code in BeforeExecuteUpdate and BeforeExecuteInsert

If Departments.DayofWeek.value = "" then
departments.Employee.value = ""
departments.EmployeeNo.value = ""
departments.WeekEndDate.value = ""
departments.HomeBusUnit.value = ""
departments.Employee.value = CCDLookup("EmpName", "Employees", "id=" & Session("UserId"), DBTimeSheets)
departments.EmployeeNo.value = CCDLookup("EmpNo", "Employees", "id=" & Session("UserId"), DBTimeSheets)
departments.WeekEndDate.value = Request.QueryString("PayRollEndDate")
departments.HomeBusUnit.value = CCDLookup("EmpHBU", "Employees", "id=" & Session("UserId"), DBTimeSheets)
end if

Thanks for any help.
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

MS Access to Web

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

Home   |    Search   |    Members   |    Register   |    Login

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