CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Session (userid)

Print topic Send  topic

Author Message
Charl Du Toit
Posted: 12/11/2002, 6:24 AM

Hi all

I have a input form and i would like to store the userid session in one of
the input boxes. How do i get it into the input box

regards
c

RonB
Posted: 12/11/2002, 11:58 AM

You didn't state wich language. Anyway in php you add a beforeshow event to
the inputbox.
global $yourgrid;
$yourgrid->inputboxname->setvalue(CCGetSession("UserID",""));

That's all

RonB
"Charl Du Toit" <charl@dkalmin.co.za> schreef in bericht
news:at7hqt$m0c$1@news.codecharge.com...
> Hi all
>
> I have a input form and i would like to store the userid session in one of
> the input boxes. How do i get it into the input box
>
> regards
> c
>
>

Dave Rexel
Posted: 12/11/2002, 12:52 PM

try using
CCGetUserID
as the default value in the Properties Panel for the input component.
Greetings
Dave

"Charl Du Toit" <charl@dkalmin.co.za> wrote in message
news:at7hqt$m0c$1@news.codecharge.com...
> Hi all
>
> I have a input form and i would like to store the userid session in one of
> the input boxes. How do i get it into the input box
>
> regards
> c
>
>

Charl Du Toit
Posted: 12/11/2002, 9:13 PM

It is ASP & access


"RonB" <r.borkent@123chello123.nl> wrote in message
news:at85cd$r7l$1@news.codecharge.com...
> You didn't state wich language. Anyway in php you add a beforeshow event
to
> the inputbox.
> global $yourgrid;
> $yourgrid->inputboxname->setvalue(CCGetSession("UserID",""));
>
> That's all
>
> RonB
> "Charl Du Toit" <charl@dkalmin.co.za> schreef in bericht
>news:at7hqt$m0c$1@news.codecharge.com...
> > Hi all
> >
> > I have a input form and i would like to store the userid session in one
of
> > the input boxes. How do i get it into the input box
> >
> > regards
> > c
> >
> >
>
>

Charl Du Toit
Posted: 12/11/2002, 9:17 PM

dave

Successs

Figured it out. by default value you say: session("userid")

thanks for the help !!

charl

"Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
news:at88i8$1i2$1@news.codecharge.com...
> try using
> CCGetUserID
> as the default value in the Properties Panel for the input component.
> Greetings
> Dave
>
> "Charl Du Toit" <charl@dkalmin.co.za> wrote in message
>news:at7hqt$m0c$1@news.codecharge.com...
> > Hi all
> >
> > I have a input form and i would like to store the userid session in one
of
> > the input boxes. How do i get it into the input box
> >
> > regards
> > c
> >
> >
>
>


   


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.