CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> Archive -> GotoCode Archive

 checkbox validation. hlp

Print topic Send  topic

Author Message
xpo
Posted: 08/16/2002, 6:18 AM

Hello,
I lost several day to do something with CC, but have no success,
I hope - here have people who's help me.

I want to do this :

<% option explicit %>

<% Dim con, rst
Set con = server.CreateObject("ADODB.CONNECTION")
Con.Open "DBQ=" & Server.MapPath("dbase.mdb") & ";Driver={Microsoft Access Driver (*.mdb)};DriverId=25;MaxBufferSize=16384;Threads=20;"
%>
<table width="100%" border=0>
<tr><td width="10%">ID</TD><TD width="90%">NAME</TD></TR>

<%
Set Rst = con.Execute("Select * FROM TUsers;")
Do While Not Rst.eof
if CBool(Rst("Valid"))=True Then
%>
<tr><td><%=rst("ID")%></td><td><%=rst("Name")%></td></tr>
<%
End if
rst.movenext
Loop
Rst.close
set rst = nothing
con.Close
%>
</table>


but with codecharge, i have no success.
help me . pls...


Ron
Posted: 08/16/2002, 7:01 AM

Hello,
I see you're new to CC. Just create new project and use wizard to create page and grid form...
add where clause to the query like:
where Valid = true

I advice you to refer to CC docs to understand how it works. The link to the tutorials, manual and useful CC related articles is: http://support.codecharge.com/tutorials.asp?product_id=1

   


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.