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