CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Adding entries into database

Print topic Send  topic

Author Message
Adam
Posted: 12/13/2002, 9:06 AM

I need to populate a table with the id from the logon table, ie. each new
entry to the table needs to have by default the user entering the data.

Hoping its something relatively easy.

Thanks in advance

Kasper Pedersen
Posted: 12/19/2002, 6:48 AM

// OnValidate
FormInQuestion.HiddenFieldInQuestion.Value = CCUserID()

..... or php ...

global $FormInQuestion;
$FormInQuestion->HiddenFieldInQuestion->SetValue( CCUserID() )

:-)

"Adam" <administrator@ctdhe.org> wrote in message
news:atd42s$v20$1@news.codecharge.com...
> I need to populate a table with the id from the logon table, ie. each new
> entry to the table needs to have by default the user entering the data.
>
> Hoping its something relatively easy.
>
> Thanks in advance
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.