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

 FORUM COUNT

Print topic Send  topic

Author Message
Soulinger
Posted: 02/27/2002, 5:48 AM

The followign applies to ASP I assume?

""Open index page , select "Messages" form. Add a dummy field (don't select
database field) set field's name to nreplies. Then click "Form properties"
icon and select "Event" tab. There you must select "Before show" event. Type
in the following code : fldnreplies = cn.execute("select count(*) from
messages where message_parent_id="&fldmessage_id).fields.item(0) Through
events you can access form fields using their names with "fld" prefix. cn is
already open connection object. ""

How do I do the same for JSP in terms of functionality? :S


Alexey Alexapolsky
Posted: 02/27/2002, 8:18 AM

Use "conn" variable that contains Connection object created by CC ,
then create a Statement object and Recordset object , please see CC code or
any "hello world"JDBC examples.

--
Alex
CodeCharge Developer


"Soulinger" <mimaclit69@hotmail.com> wrote in message
news:a5io3u$hro$1@news.codecharge.com...
> The followign applies to ASP I assume?
>
> ""Open index page , select "Messages" form. Add a dummy field (don't
select
> database field) set field's name to nreplies. Then click "Form properties"
> icon and select "Event" tab. There you must select "Before show" event.
Type
> in the following code : fldnreplies = cn.execute("select count(*) from
> messages where message_parent_id="&fldmessage_id).fields.item(0) Through
> events you can access form fields using their names with "fld" prefix. cn
is
> already open connection object. ""
>
> How do I do the same for JSP in terms of functionality? :S
>
>
>


   


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.