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