CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 passing CCGetUserID() value in select query

Print topic Send  topic

Author Message
Zeljko Dakic
Posted: 11/04/2004, 3:52 PM


This should be simple but somehow isn't working out as I try,.

I want after logging in to display member details, in order to do that I made form that select members table and should show only those who's member_id is equal CCGetUserID() function.

How to make this work? I tried expression and added this but getting empty rows.
When I add label to form with CCGetUserID() control source I get correct value.

Can someone give me a hint how to make this work.

Thanks a bunch.

Zeljko
peterr


Posts: 5971
Posted: 11/04/2004, 4:03 PM

Hi,
Usually the CCGetUserID function is not needed for this. You could just use the UserID session as the parameter of your data source.
You should be able to find more information here: http://forums.codecharge.com/search.php?s_keyword=UserI...m[]=6&s_period=
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Zeljko Dakic
Posted: 11/04/2004, 4:21 PM

Thanks Peter for prompt response,

I tried that and somehow didn't work. I was able to make it work . Huh just made it work, great ! :)

Thanks once more, nice to have you here when we are in need.

Regards,
Zeljko Dakic

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.