CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 passing parameter

Print topic Send  topic

Author Message
Aidi Sim
Posted: 12/31/2002, 6:33 AM

i am having problem with the following


For instance Form1 has a textbox name login.
I have set the preserve parameter to All.

I added a label in Form2 and tried the following code

Label1.Value = CCGetParam("login","Aidi Sim") //always return Aidi Sim
cos cannot find login//

Function Label1_BeforeShow() 'Label1_BeforeShow @38-D2D68993

'Custom Code @39-73254650
' -------------------------
Label1.Value = Request.getString("login")
' -------------------------
'End Custom Code

Object doesn't support this property or method: 'Request.getString'
/QSuite/MainMenu_events.asp, line 12


btw can we define datasource with the need to have tables of rows and column
inserted?

thanks




Lee Irving
Posted: 01/02/2003, 6:09 AM

Not sure what you are trying to do here.

If it is to get the users login name then simply use
CCGetSession("UserLogin")



"Aidi Sim" <aidi.sim@qalacom.com> wrote in message
news:aus9sj$bm3$1@news.codecharge.com...
> i am having problem with the following
>
>
> For instance Form1 has a textbox name login.
> I have set the preserve parameter to All.
>
> I added a label in Form2 and tried the following code
>
> Label1.Value = CCGetParam("login","Aidi Sim") //always return Aidi Sim
> cos cannot find login//
>
> Function Label1_BeforeShow() 'Label1_BeforeShow @38-D2D68993
>
> 'Custom Code @39-73254650
> ' -------------------------
> Label1.Value = Request.getString("login")
> ' -------------------------
> 'End Custom Code
>
> Object doesn't support this property or method: 'Request.getString'
> /QSuite/MainMenu_events.asp, line 12
>
>
> btw can we define datasource with the need to have tables of rows and
column
> inserted?
>
> thanks
>
>
>
>
>

Lee Irving
Posted: 01/02/2003, 6:11 AM

Just realised your using ASP not PHP try

CCGetUserID()


"Aidi Sim" <aidi.sim@qalacom.com> wrote in message
news:aus9sj$bm3$1@news.codecharge.com...
> i am having problem with the following
>
>
> For instance Form1 has a textbox name login.
> I have set the preserve parameter to All.
>
> I added a label in Form2 and tried the following code
>
> Label1.Value = CCGetParam("login","Aidi Sim") //always return Aidi Sim
> cos cannot find login//
>
> Function Label1_BeforeShow() 'Label1_BeforeShow @38-D2D68993
>
> 'Custom Code @39-73254650
> ' -------------------------
> Label1.Value = Request.getString("login")
> ' -------------------------
> 'End Custom Code
>
> Object doesn't support this property or method: 'Request.getString'
> /QSuite/MainMenu_events.asp, line 12
>
>
> btw can we define datasource with the need to have tables of rows and
column
> inserted?
>
> thanks
>
>
>
>
>

David Welsh
Posted: 01/02/2003, 9:13 AM

I have always had problems using the CC functions out-right.

For the sample below. I would do this.

Label1.Value = Session("UserLogin")




"Aidi Sim" <aidi.sim@qalacom.com> wrote in message
news:aus9sj$bm3$1@news.codecharge.com...
> i am having problem with the following
>
>
> For instance Form1 has a textbox name login.
> I have set the preserve parameter to All.
>
> I added a label in Form2 and tried the following code
>
> Label1.Value = CCGetParam("login","Aidi Sim") //always return Aidi Sim
> cos cannot find login//
>
> Function Label1_BeforeShow() 'Label1_BeforeShow @38-D2D68993
>
> 'Custom Code @39-73254650
> ' -------------------------
> Label1.Value = Request.getString("login")
> ' -------------------------
> 'End Custom Code
>
> Object doesn't support this property or method: 'Request.getString'
> /QSuite/MainMenu_events.asp, line 12
>
>
> btw can we define datasource with the need to have tables of rows and
column
> inserted?
>
> thanks
>
>
>
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
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.