CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Assigning UserID

Print topic Send  topic

Author Message
askwebex
Posted: 04/07/2005, 12:13 PM

Hi

I hope someone canhelp me

i'm trying to create a small project management app.

when user loges in and adding a project i need the form to use UserID
session variable to insert a record
for that user

Thanks


Nicole

Posts: 586
Posted: 04/08/2005, 5:37 AM

You can set Default Value of appropriate control to return ID of logged in user, i.e.
Default Value: CCGetUserID()
This function returns a value of session User ID variable

_________________
Regards,
Nicole
View profile  Send private message
DonB
Posted: 04/08/2005, 7:53 AM

Use the Custom Insert property to define the list of form fields and then
add another one to that list for the userid, setting the latter to an
Expression. Make the expression CCGetUserID().

--
DonB

http://www.gotodon.com/ccbth


"askwebex" <dmx@askwebexperts.com> wrote in message
news:d340pf$hui$1@news.codecharge.com...
> Hi
>
> I hope someone canhelp me
>
> i'm trying to create a small project management app.
>
> when user loges in and adding a project i need the form to use UserID
> session variable to insert a record
> for that user
>
> Thanks
>
>
>

askwebex
Posted: 04/08/2005, 10:17 AM

Thanks

using custom insert was the solution, i was able to use Session type and
just specified UserID as a variable and it worked like a charm, didnt even
have to use the CCGetUserID()
ccs did it for me

thanks again :)

"askwebex" <dmx@askwebexperts.com> wrote in message
news:d340pf$hui$1@news.codecharge.com...
> Hi
>
> I hope someone canhelp me
>
> i'm trying to create a small project management app.
>
> when user loges in and adding a project i need the form to use UserID
> session variable to insert a record
> for that user
>
> Thanks
>
>
>


Add new topic Subscribe to topic   


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.