Jeremy
|
| Posted: 08/16/2002, 9:09 AM |
|
Hey all, and staff. I found a little bug in CCS I think, or maybe it's just me.
If you create a search form/box in the header of a page, but don't have any grids or search forms in the "main" page or "body" it will give the error
variable is undefined DBinternet
So if you have a search box in your header like I do...and just have some normal html or asp pages that are only text, it will bomb out.
You have to add the following to each page, which you shouldn't have to do...
Or you could just add it to the header I suppose.
' Connections
Dim DBdatabasename
'Initialize Objects @1-DDEE32FA
Set DBdatabasename = New clsDBdatabasename
DBdatabasename.Open
I have had this issue with two sites I'm working on, but fixed it by adding the above code if the page didn't have it. Just a tip.
Thanks.
Jeremy
|
|
|
 |
Nicole
|
| Posted: 08/19/2002, 1:12 AM |
|
Jeremy,
What CCS version do you use?
I’ve just finished creating search form and grid forms in the includable pages and included them into empty page. They work fine.
Moreover, stand alone search from do not require db connection.
|
|
|
 |
Nicole
|
| Posted: 08/19/2002, 1:12 AM |
|
Jeremy,
What CCS version do you use?
I’ve just finished creating search form and grid forms in the includable pages and included them into empty page. They work fine.
Moreover, stand alone search from do not require db connection.
|
|
|
 |
Jeremy
|
| Posted: 08/21/2002, 9:01 AM |
|
I am using 1.0.7 I believe. The lastest updated version of CCS. I built the search form and a dropdown list in the header. The dropdown list requires a lookup to a table showing the name of books. You can see my example at www.rockymountainpc.com . the main page doesn't load unless you add what I said before....or any page that doesn't have the db string in it. I have tried this in multiple projects and it does the same thing in all of them. "variable is undefined DBdatabase" until I add the proper code.
|
|
|
 |
CodeCharge Support
|
| Posted: 08/22/2002, 6:42 AM |
|
Hello,
it is the problem on our side. Developers are notified about it and it will be solved in next CCS release.
|
|
|
 |
|