•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ColdFusion section within the Web Development category of DaniWeb, a massive community of 403,115 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,415 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ColdFusion advertiser: Programming Forums
Views: 2573 | Replies: 2
![]() |
•
•
Join Date: Aug 2005
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
Hi,
can anybody out there tell me how to set up a datasource in the cfadmin and use the datasource attribute instead of the connectstring attribute?
I need to do this because it happens to be that my client for which i have developed a web based database for is running CF5 or below and need to transfer the filkes over to a server which has a later version of coldfusion.
Im a novice developer hence this is all jargon to me!
Is there anybody out there that can help?
Sam.x.
can anybody out there tell me how to set up a datasource in the cfadmin and use the datasource attribute instead of the connectstring attribute?
I need to do this because it happens to be that my client for which i have developed a web based database for is running CF5 or below and need to transfer the filkes over to a server which has a later version of coldfusion.
Im a novice developer hence this is all jargon to me!
Is there anybody out there that can help?
Sam.x.
Setting up the database is just a matter of clicking the data sources link under Data & Services in the menu on the left (cfMx). From here all you need to do is select the data base type from the drop down and type the name of the db.
As for data base attribute I am guessing you are referring to using [HTML]<cfquery name="qname" datasource="dbname">[/HTML] instead of
[HTML]<cfquery name="qname" datasource="#session.dbsource#">[/HTML]
Let me know is this is what you were looking for.
Thanks
As for data base attribute I am guessing you are referring to using [HTML]<cfquery name="qname" datasource="dbname">[/HTML] instead of
[HTML]<cfquery name="qname" datasource="#session.dbsource#">[/HTML]
Let me know is this is what you were looking for.
Thanks
![]() |
•
•
•
•
•
•
•
•
DaniWeb ColdFusion Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- help setting up web server (Linux Servers and Apache)
- VB: Connect to Access database via ODBC datasource name (Visual Basic 4 / 5 / 6)
- code error (ColdFusion)
- Video setting question (Monitors, Displays and Video Cards)
- Setting up my PC as a web server (Windows NT / 2000 / XP / 2003)
Other Threads in the ColdFusion Forum
- Previous Thread: ColdFusion and Windows xp 64 bit
- Next Thread: Element is undefined in a Java object of type class [Ljava.lang.String; referenced as


Linear Mode