CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Custom Code : Variable Not Found

Print topic Send  topic

Author Message
myself
Posted: 06/20/2003, 9:56 AM

ALL --

Hello !

OS: W2K Server, sp2, IIS
CC: v. 1.0.7

Whenever I add custom code to a '*_list.asp' page for a hyperlink within
a field, I always receive an error in the browser that states within the '*_events_list.asp' my variable, 's_whatever' or just 'whatever,' cannot
be found.

Am I doing something wrong?

I've tried using the add action as well.

Any hints, tips, advice would be greatly appreciated.

Please send to :beantownitguy2003@yahoo.com

Thanks,

-- B.
rrodgers
Posted: 06/20/2003, 10:19 AM

>> 's_whatever' or just 'whatever,' cannot
>>be found.

Where are they declared?


rob
myself
Posted: 06/20/2003, 10:41 AM

Rob --

Hello !

The globals are defined within the ASP under :
Class clsRecordreceivingSearch 'receivingSearch Class @2-0FB5C42D

under the Class variables within the Global variables.

Hope that helps, thanks for yours, best,

-- B.
rrodgers
Posted: 06/20/2003, 2:25 PM

Sounds like they are class properties because of where you defined them. If that is what you wanted then you probably need to reference them with
ObjectName.whatever when you are not coding in the object.

If it isn't then

When I need global vars I declare them near the top in the first white space right after.

'End Include Common Files

rob

   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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