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

 Master record ID being passed to Editable Grid

Print topic Send  topic

Author Message
lesleyag

Posts: 7
Posted: 07/07/2004, 5:20 AM

I have a grid which passes a field called IncidentID to an editable grid. The editable grid is called [tbl_InjuryDetails] and is a "child" to the Incident grid. I have had some help from a PHP expert and the code he would use to pass the IncidentID would be :$OpenSpecificForm-->ds-->pid-->SetValue(CCGetFormGet('pid));

This is the custom code we inserted:
'EditableGrid tbl_InjuryDetails Event BeforeBuildInsert. Action Custom Code @126-73254650
' -------------------------
' Write your own code here.
tbl_InjuryDetails.DataSource.IncidentID = CCGetParam("IncidentID")

' -------------------------
'End EditableGrid tbl_InjuryDetails Event BeforeBuildInsert. Action Custom Code

and this is the error that is generated when I try to publish it:

Error:C:\DOCUME~1\LESLEY~1\LOCALS~1\Temp\~ForestOwners\components\Incident_3DataProvider.vb(1367) : error BC30451: Name 'tbl_InjuryDetails' is not declared.

tbl_InjuryDetails.DataSource.IncidentID = CCGetParam("IncidentID")
~~~~~~~~~~~~~~~~~
Error:C:\DOCUME~1\LESLEY~1\LOCALS~1\Temp\~ForestOwners\components\Incident_3DataProvider.vb(1367) : error BC30451: Name 'CCGetParam' is not declared.

tbl_InjuryDetails.DataSource.IncidentID = CCGetParam("IncidentID")

What is causing this error and how do I rectify it please

Thanking you in advance
Lesley
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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