CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Hide panel based on a value issue

Print topic Send  topic

Author Message
robn

Posts: 70
Posted: 08/03/2006, 3:28 AM

Hi

I've hidden Panels many times when using a fixed value (i.e. If tblOpportunitie.ProjAssessWeight.Value = 1 then) which have worked fine but now I am trying to retrieve a value from the database which can be changed by the user. The code I have created looks like this.

 If tblOpportunitie.ProjAssessWeight.Value < CCDLookUp("PreSetLimit","tblPreSetLimit","PLID=" & DBeqmssso_001.ToSQL(tblOpportunitie.PreSetLimit.Value,ccsInteger), DBeqmssso_001) Then    
       tblOpportunitie.Panel_projectAssessment.Visible = false  
 End if

This produced a Type Mismatch error

also I tried pulling the preset value from the database and placing it in a text box so I could use the following code

If tblOpportunitie.ProjAssessWeight.Value < tblOpportunitie.PreSetLimit.Value Then    
     tblOpportunitie.Panel_projectAssessment.Visible = false


Which runs but seems to ignore the setting (doesn't matter if its greater than the preset value or not the panel is still displayed.

Any help on how I can achieve this would be much appriciated.

thanks in advance

Rob
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.