CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 RegistrationView not showing information

Print topic Send  topic

Author Message
Jan B. Ferguson
Posted: 02/24/2001, 12:23 PM

I have been successfully (finally) converting over the RegForm example to my
needs in registering users and also using the database as a basis for a
secure web page. There are three questions I have, two definitely involve
CodeCharge.

1. Using the default CodeCharge "RegForm" example, the RegistrationView form
does not show the user's information. It indicates "No records" in grid mode
and is just blank in record mode. Why is this happening and what can I do to
change this.

The reason the answer to #1 is important is that I want to use a security
level 3 to allow me to access the database to make changes (particularly in
the security level). If that works well, I'd like to enable a given user to
make changes to his/her record when necessary. This will be impossible if I
can't view the recor's information.

2. Assuming I can view the record's information, how can I access the record
to be able to edit it? Particularly, how would I use CodeCharge (if
possible) to "write" this code.

3. Finally, can I use Code Charge (if not what code can I use) to keep the
session persistent from one "secure" page to another hyperlink?

Any assistance will be greatly appreciated. My thanks to Adam and Alexey for
setting me on the right path in recent weeks.

Jan Ferguson
Data Software Solutions, Inc.


CodeCharge
Posted: 02/25/2001, 4:42 PM

Hi Jan,

Re: #1
I remember looking at your site in one of the support cases and I saw the
list of users in the grid on the main page. I suppose that you might've
change something that prevents this grid from showing all registered users.
I would suggest recreating such grid (possibly as a separate page), which is
connected to your question #2:

Re: #2
An easy way to create new pages with CodeCharge is the Wizard - you should
go to the "Pages" section and click on "New Page Wizard", then select
"Record" type page, or "Grid" or both ("Grid and Edit" combination).
Or you may do this manually, by clicking on "Add Page", then make sure that
you select Form Type "Record" and select database fields with type "TexBox".
You can connect any page with "Grid" form to any page with "Record" from by
specifying Output (in "Grid") and Input (in "Record"). You specify Output in
the Field Properties - one of the fields should be URL type and you can
specify Output in its properties. Usually you need to specify the Key field
as the Output. Then in the "Record" Form Properties, specify Input, by
adding a field with the same name as you did previously in the Output.

Re: #3
CodeCharge automatically manages the persistency, in a way that if a user is
logged in, he will be logged in throughout all pages. However, to maintain
persistency accross external pages, you can add this function:
"CheckSecurity(1)" to your own ASP programs. You may replace "1" with the
appropriate security level that you like to check. This function is placed
in Common.asp, generated by CodeCharge.

Adam

"Jan B. Ferguson" <janf@datasoftware.net> wrote in message
news:97958d$i7c$1@news.codecharge.com...
> I have been successfully (finally) converting over the RegForm example to
my
> needs in registering users and also using the database as a basis for a
> secure web page. There are three questions I have, two definitely involve
> CodeCharge.
>
> 1. Using the default CodeCharge "RegForm" example, the RegistrationView
form
> does not show the user's information. It indicates "No records" in grid
mode
> and is just blank in record mode. Why is this happening and what can I do
to
> change this.
>
> The reason the answer to #1 is important is that I want to use a security
> level 3 to allow me to access the database to make changes (particularly
in
> the security level). If that works well, I'd like to enable a given user
to
> make changes to his/her record when necessary. This will be impossible if
I
> can't view the recor's information.
>
> 2. Assuming I can view the record's information, how can I access the
record
> to be able to edit it? Particularly, how would I use CodeCharge (if
> possible) to "write" this code.
>
> 3. Finally, can I use Code Charge (if not what code can I use) to keep the
> session persistent from one "secure" page to another hyperlink?
>
> Any assistance will be greatly appreciated. My thanks to Adam and Alexey
for
> setting me on the right path in recent weeks.
>
> Jan Ferguson
> Data Software Solutions, Inc.
>
>
>


   


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.