CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 syntax, or conception error trying to open a recordset

Print topic Send  topic

Author Message
cexpert
Posted: 12/26/2004, 7:59 AM

I try to manually open a recordset in code mode
here is the following code

SQL = "SELECT * from Tdb_habil order by mois descending"
'query exec
CCOpenRS(Rs,SQL,clsDBConnection1)

where connection1 is the one i defined in my project
i get a Vbscript compilation error: "no bracket for a Sub function call"
CCOpenRS(Rs,SQL,clsDBConnection1)
---------------------------------^
where am i wrong ? thank you


peterr


Posts: 5971
Posted: 12/26/2004, 2:44 PM

There may be couple problems with this syntax, like unnecessary parentheses and a missing parameter.
See:
http://msdn.microsoft.com/library/default.asp?url=/libr...ncallingsub.asp
http://docs.codecharge.com/studio/html/Components/Funct...P/CCOpenRS.html

However, CCOpenRS is an older function that is no longer used in the documentation examples in CCS version 2.x (I think). Whatever you need to do, take a look at the "Working With Databases" examples in the latest CCS documentation.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


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.