codecharger
Posts: 8
|
| Posted: 09/08/2005, 10:21 AM |
|
hey guys, i am new to CCS, i am using ASP. i am wondering how to include other asp files. I know there is a tool to include files, but that is used to inlude ccp files in the design or html view. but i need to include actual code files. i know how to do this in asp, but the generic asp code is not working in code charge.
thank you,
brian
|
 |
 |
peterr
Posts: 5971
|
| Posted: 09/08/2005, 11:36 AM |
|
Use the standard ASP syntax in the ASP code, like:
<!-- #INCLUDE VIRTUAL="/SomeFile.asp"-->
But in many cases it's not possible to mix multiple different programs, so you may need to adapt your included code to work with your CCS application.
Also see http://forums.codecharge.com/posts.php?post_id=42947
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
codecharger
Posts: 8
|
| Posted: 09/08/2005, 3:33 PM |
|
thanks for the resposne,
i am still having no success. I am trying to include the common.asp file from a header_events.asp page i have created. these files are in the same directory. i get the error common.asp cannot be found.
any ideas?
thanks for the help,
brian
afterthought:
maybe i am going about this the wrong way, all i am trying to do is a CCDLOOKUP() and i need the database connection variable, maybe there is a simplier way to get it than including the common.asp file....
|
 |
 |
|