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 -> PHP

 ::: Call to a member function on a non-object ...

Print topic Send  topic

Author Message
klwillis


Posts: 428
Posted: 09/28/2004, 8:36 AM

I added a new field called 'fname' to a database table and then
added that field to a record form.

When I now try to view the form, I receive the error message:
"Call to a member function on a non-object"

NOTE:
I noticed within the page event code, where the record class
is defined, that the control for the new field 'fname' have not been created.

Within record class, the attribute 'fname' should be
defined something like this ...

$this->fname = new clsControl(ccsTextBox, "fname", "Fname", ccsText, "", CCGetRequestParam("fname", $Method));

For some reason, it is not there - very odd. :-O

Is there anyway to rebuild the record class so that the
correct field attributes are always defined for the record class. ?

I've tried re-generating the code for the page, but that has
not helped.

Any suggestions on how I can go about resolving this would
be greatly appreciated. :-)
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"

Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006
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.

Web Database

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.