CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Dumb "noobs" question!

Print topic Send  topic

Author Message
Joe
Posted: 02/26/2003, 7:04 AM

I've been using codecharge for about a week, and I can't seem to work how I do the following, can anyone help please!?

I need to insert the session variable UserID (created by the login form I believe)into a specific field in a table other than the user table, in order to associate that record with a particular user, I'm sure that it must be very easy, and that I'm totally missing something, but it has now been bugging me for hours!
any advice would be greatly appreciated!
ta.
Aaron
Posted: 02/26/2003, 7:31 AM

I'm a newbie too, so I can feel your frustration. I think I have a permanent dent in my desk form my forehead. I'm trying to figure out how to program along with learning the CCS. I can say that after the initial hump, it gets easier. I rely on this forum and the CCS Tutorial for most information.

For the most part, there's a lot of goot information hidden in this forum, it just sometimes isn't easy to find. If the forum software were a little better, it would make it easier to use, like keeping the topic for all replies...

For your question...

There's more than one way to do it. Try this. I'm using ASP, so other languages will be different, but similar.

select the field in question on your form that you want to default to the current UserID.

In the Properties pane under data, put Session("UserID") in the Default Value.

You can also use a Before Show custom code to set the field. The field can be either a text input or hidden depending on your need. For the code, again in ASP, use:

yourform.yourfield.Value = Session("UserID")

Aaron

   


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.