CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Redirct code changed in 3.0?

Print topic Send  topic

Author Message
cobom


Posts: 55
Posted: 01/20/2006, 9:36 AM

This works on my project created in Version 2:

Redirect = CCDLookup("home_page","Employee_table","user_id=" & Session("UserID"),DBEng_Data)

Is it created different in version 3? The connection string is correct - but I get an "Variable is undefined: 'DBEng_Data'


_________________
cmckinney@searay.com

Will program for a Sea Ray 680 SS ;}
View profile  Send private message
Walter Kempees
Posted: 01/20/2006, 10:52 AM

The eror seems to be not in the Redirect but in the CCDLookup.


"cobom" <cobom@forum.codecharge> schreef in bericht
news:643d11f824ac55@news.codecharge.com...
> This works on my project created in Version 2:
>
> Redirect = CCDLookup("home_page","Employee_table","user_id=" &
> Session("UserID"),DBEng_Data)
>
> Is it created different in version 3? The connection string is correct -
> but I
> get an "Variable is undefined: 'DBEng_Data'
>
>
> _________________
>cmckinney@searay.com
>
> Will program for a Sea Ray 680 SS ;}
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

mrachow


Posts: 509
Posted: 01/20/2006, 11:21 AM

I'm really not sure but if you have no grid, record, or report on your form no db connection is created for that page.

I think in very older versions a db connection was always created.
_________________
Best regards,
Michael
View profile  Send private message
cobom


Posts: 55
Posted: 01/20/2006, 11:46 AM

So, I need to define the connection string? Where do I do that. I do have a grid, record, search page to redirect to, did that need to be created before the login page?

I thought the connection string was defined in the settings area.
_________________
cmckinney@searay.com

Will program for a Sea Ray 680 SS ;}
View profile  Send private message
peterr


Posts: 5971
Posted: 01/20/2006, 12:00 PM

In certain cases you may need to intialize the connection within the code, like shown in examples at http://docs.codecharge.com/studio3/html/ProgrammingTech...eCustomSQL.html

However, if that worked in your CCS2 project (and in the same event), then I would contact the support just to let them know. They may want to check why this happen because it could affect other CCS users.
_________________
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.