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

 Page fails if link contains parameters

Print topic Send  topic

Author Message
rick
Posted: 01/24/2003, 5:48 PM

Hi, I'm Stumped.

I'm doing a simple link from a CCS (2.0 Beta1) page to another CCS page, when I specify a link parameter (link type "Page") the page fails on start up. If I remove the parameter it runs fine.

Any help would be great.. Thanks

lneisius
Posted: 01/25/2003, 7:07 AM

Do you mean HREF type or are you talking about an actual param in the link source?
rick
Posted: 01/26/2003, 1:38 PM

Yes, I'm selecting a link parameter from the "Href Source" dialog box. The link works fine without parameters. It also works fine with parms from a "grid form". It only fails from a "record form". I've tried the same link w/parms from other "record forms" they also fail. I can only get the links with parms to work from "grid forms".

Thanks for your reply...
RonB
Posted: 01/26/2003, 3:43 PM

By default no parameters are transfered from a record. In the properties box set preserve parameter to post and it should work fine.

Ron
rick
Posted: 01/27/2003, 8:52 AM

It still fail if I set preserve parameters to "Post".
???
lneisius
Posted: 01/27/2003, 9:33 AM

I tried a few and no problems unless the parameters are wrong. Is the parameter in the link in the record form? Are you using DataField or URL to pass the parameter to the record.
rick
Posted: 01/27/2003, 11:12 AM

I'm using a:
link type "Page"
parameter type "datafield"
preserve paramerets "Post"
The parameter source is "claim_no" and is found on the same form.
If I test it on my localhost I get:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

--------------------------------------------------------------------------------

Technical Information (for support personnel)

Error Type:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'Recordset.Fields'
/DummyRecordLinkTest/TestRecordFormLink.asp, line 735

That code reads:
claim_no.Parameters = CCGetQueryString("Form", Array("ccsForm"))
claim_no.Parameters = CCAddParam(claim_no.Parameters, "h_claim_no", Recordset.Fields("claim_no"))
claim_no.Page = "TestRecordFormLinkTarget.asp"

Thanks....
rick
Posted: 01/27/2003, 11:17 AM

switched parameter type to "URL" works fine now.
Thanks to all, have a great week...

   


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.