CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Field type depending on a condition

Print topic Send  topic

Author Message
Alex LL
Posted: 10/25/2002, 7:51 AM

Hello CC-users & lovers

In a record form, I'd like to decide the field type depending on a condition. E.g. I'd like to have a listbox or a text field depending on user's login.
In both cases, each user has to see only _one_ field, and the table column that has to be updated after the submit must be the same.
Is it possible?
(I use php)
aNNABELLE
Posted: 10/29/2002, 9:25 PM

Nicole
Posted: 10/31/2002, 6:08 AM

Alex,
The information provide is not enough to give you detailed advice. In general you probably should retrieve the value from any table corresponding to logged in user UserID value. As for listbox you probably can limit the recordset by adding the Where clause that include user id value.

   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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