Hello everyone.
I have the following code:
<cfform name="CrossGrid.cfm" action="Cross.htm" method="post">
<cfgrid name="CrossGrid" query="ShowDetails" rowheaderbold="Yes" selectmode="SINGLE" selectcolor="F39956" width="950" height="250" appendkey="NO">
<CFGRIDCOLUMN name="BROKER_NO" HEADER="CBI Ref" WIDTH="60" headerbold="Yes" dataalign="CENTER">
<cfGRIDcolUMN NAME="BROKER_NO2" header="Your Ref." width="100" headerbold="Yes">
<cfgridcolumn name="ENTRY" header="Entry No." headerbold="Yes" dataalign="CENTER" width="62"
href="CROSSDT.CFM?USENTRY__ENTRY=ENTRY" hrefkey="ENTRY">
<CFGRIDCOLUMN NAME="ENTRY_DATE" WIDTH="65" HEADER="Date" headerbold="Yes">
<CFGRIDCOLUMN NAME="MSG6" WIDTH="92" HEADER="Released On" headerbold="Yes">
<!---<CFgridCOLumn name="FDA" WIDTH="5" TEXT="#MID(MSG6,19,17)#">--->
<CFGRIDCOLUMN NAME="MSG5" WIDTH="95" HEADER="Intensive" headerbold="Yes">
<cfGRIDcolUMN NAME="IMPOR_CAR" header="Trailer" width="120" headerbold="Yes">
<CFGRIDCOLUMN HEADER="Qty" WIDTH="45" dataalign="CENTER" NAME="QTY_BILL" headerbold="Yes">
<CFGRIDCOLUMN HEADER="Units" WIDTH="40" name="UNITS_BILL" headerbold="Yes">
<CFGRIDCOLUMN HEADER="Consignee" WIDTH="240" NAME="CONS_NAME" headerbold="Yes">
</CFGRID>
This reports displays fine, and as you can see in the CFGRIDCOLUMN NAME="ENTRY",
I have an HREF, this is supposed to grab the value of the cell the user clicks on based on the ENTRY and pass that as a Parameter to another report.
The report displays but with no data; I have tried with APPENDKEY="NO" and also with "YES".
When I leave as APPENDKEY=YES, it shows the value but it shows in the address box as this:
<<the one I need to pass to the report.
But it doesnt find it because of the GETGRIDKEY, in other words, the parameter becomes ENTRY&GETGRIDKEY=value, so it does not find it in the database.
What am I doing wrong? or what am I missing?
Thanx beforehand for your help!
Sincerely,
Max35
I have the following code:
<cfform name="CrossGrid.cfm" action="Cross.htm" method="post">
<cfgrid name="CrossGrid" query="ShowDetails" rowheaderbold="Yes" selectmode="SINGLE" selectcolor="F39956" width="950" height="250" appendkey="NO">
<CFGRIDCOLUMN name="BROKER_NO" HEADER="CBI Ref" WIDTH="60" headerbold="Yes" dataalign="CENTER">
<cfGRIDcolUMN NAME="BROKER_NO2" header="Your Ref." width="100" headerbold="Yes">
<cfgridcolumn name="ENTRY" header="Entry No." headerbold="Yes" dataalign="CENTER" width="62"
href="CROSSDT.CFM?USENTRY__ENTRY=ENTRY" hrefkey="ENTRY">
<CFGRIDCOLUMN NAME="ENTRY_DATE" WIDTH="65" HEADER="Date" headerbold="Yes">
<CFGRIDCOLUMN NAME="MSG6" WIDTH="92" HEADER="Released On" headerbold="Yes">
<!---<CFgridCOLumn name="FDA" WIDTH="5" TEXT="#MID(MSG6,19,17)#">--->
<CFGRIDCOLUMN NAME="MSG5" WIDTH="95" HEADER="Intensive" headerbold="Yes">
<cfGRIDcolUMN NAME="IMPOR_CAR" header="Trailer" width="120" headerbold="Yes">
<CFGRIDCOLUMN HEADER="Qty" WIDTH="45" dataalign="CENTER" NAME="QTY_BILL" headerbold="Yes">
<CFGRIDCOLUMN HEADER="Units" WIDTH="40" name="UNITS_BILL" headerbold="Yes">
<CFGRIDCOLUMN HEADER="Consignee" WIDTH="240" NAME="CONS_NAME" headerbold="Yes">
</CFGRID>
This reports displays fine, and as you can see in the CFGRIDCOLUMN NAME="ENTRY",
I have an HREF, this is supposed to grab the value of the cell the user clicks on based on the ENTRY and pass that as a Parameter to another report.
The report displays but with no data; I have tried with APPENDKEY="NO" and also with "YES".
When I leave as APPENDKEY=YES, it shows the value but it shows in the address box as this:
<<the one I need to pass to the report.
But it doesnt find it because of the GETGRIDKEY, in other words, the parameter becomes ENTRY&GETGRIDKEY=value, so it does not find it in the database.
What am I doing wrong? or what am I missing?
Thanx beforehand for your help!
Sincerely,
Max35