?
Solved

ColdFusion and VBScript

Posted on 2000-03-02
8
Medium Priority
?
351 Views
Last Modified: 2013-12-24
Can you pass variables from VBScript into CFQueries for ColdFusion? Example please.
0
Comment
Question by:houstim
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 1

Expert Comment

by:deepchanda
ID: 2577922
i dont know much about VBscript myself, but i would think it more of a client-side scripting language. Since CFquery tag is something that is processed at the server side, the VBscript code wont get run until it reaches the client browser

DC
0
 

Expert Comment

by:samphi
ID: 2577968
I dont know much about VBscript, but CF can UPDATE a data ...
And VBS can only INSERT, DELETE...

I'm not sure...
0
 

Expert Comment

by:anusha
ID: 2578133
Cannot pass from VBscript to CF.
0
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 

Expert Comment

by:anusha
ID: 2578135
Cannot pass from VBscript to CF.
0
 
LVL 5

Expert Comment

by:nathans
ID: 2581194
Are you referring to in the SAME page?  If so you might be able to use wddx and xml??? maybe??
0
 
LVL 1

Expert Comment

by:GGena
ID: 2582715
VBscript is working on client side. CF - on server. You cannot send data inside the same page without refreshing this page.

If you want to send values to another page it will be (in JavaScript) like

function SendVar(a,b){

location="newpage.cfm?FirstVar=" + a + "SecondVar=" + b
}


Sorry about JavaScript, but at VBscript it will be similar.
0
 
LVL 1

Expert Comment

by:GGena
ID: 2582716
GGena changed the proposed answer to a comment
0
 
LVL 1

Accepted Solution

by:
GGena earned 180 total points
ID: 2582720
VBscript is working on client side. CF - on server. You cannot send data inside the same page without refreshing this page.

If you want to send values to another page it will be (in JavaScript) like

function SendVar(a,b){

location="newpage.cfm?FirstVar=" + a + "SecondVar=" + b
}

newpage.cfm:
======================
<cfquery name=MeQuery>
   SELECT *
   FROM MyTable
   WHERE Field1=#FirsrVar# AND
         Field2=#SecondVar#
</cfquery>


Sorry about JavaScript, but at VBscript it will be similar.
0

Featured Post

The Ideal Solution for Multi-Display Applications

Check out ATEN’s VS1912 12-Port DP Video Wall Media Player at InfoComm 2017. Kerri describes how easy it is to design creative video walls in asymmetric layouts and schedule detailed playlists ahead of time with its advanced scheduling feature.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question