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

 updatable form

Print topic Send  topic

Author Message
shaba
Posted: 10/27/2003, 4:10 AM

Hi all,

most sites have membership fecility,we all know it.

sometimes a member wish to update his details.that's also common.

for updating his details,a form of edit_memberhip is provided by most sites.

in most sites,before entering the fields for update,former datas(datas previousely given) was shown in textfields.

how can i achieve this by codecharge??

ryan
Posted: 10/27/2003, 3:39 PM

Create the user record form where the fields are just password, name, email but do not get the security role. Would you want ur users to become admin?

And then parametrize that record form with a session User ID. :)
shaba
Posted: 10/28/2003, 1:49 AM

And then parametrize that record form with a session User ID. :) [/B]

i have parametarized all fields.but no datas are displaying??..plz suggest how to parametrize that record form with a session User ID.



No Name
Posted: 10/28/2003, 1:25 PM

Are U using CC (CodeCharge 2) or CCS (CC Stusio 2)?

In CC there are examples included with the app install. (MyClassifieds in the Classifieds example)
shaba
Posted: 10/28/2003, 7:43 PM

i am using CC studio2.2

i need manual coding or CC do it?..i hav read the manuel.but i did'nt found any matching case there
shaba
Posted: 10/28/2003, 10:21 PM

i hav tried a lot to parametarise the user_id or user_login..but it dont works..

may i go to programming?..CCS did'nt help here??


anyone plz tell me a solution

shaba
Posted: 10/28/2003, 10:52 PM

where clause not working??

i hav parameterized my user_update form by using an sql query like this,

select * from users where user_login='{Utils.getUserLogin(e.getPage());}

but this is not working.

i want to display the former values of the fields in update form.how can i achieve?
ryan
Posted: 10/31/2003, 3:45 PM

select * from users where user_login='{Utils.getUserLogin(e.getPage());}
|
|
|
change to

select * from users where user_login='{UserID}

where UserID(strict case) is a session, not URL
generate this with CCS do not custom SQL code
and restrict that page please :)
shaba
Posted: 11/01/2003, 5:44 PM

appreciating your good feedback.keep it up.good life is with u.

---
shaba

   


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.