Link to home
Start Free TrialLog in
Avatar of houstim
houstim

asked on

ColdFusion and VBScript

Can you pass variables from VBScript into CFQueries for ColdFusion? Example please.
Avatar of deepchanda
deepchanda

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
I dont know much about VBscript, but CF can UPDATE a data ...
And VBS can only INSERT, DELETE...

I'm not sure...
Cannot pass from VBscript to CF.
Cannot pass from VBscript to CF.
Are you referring to in the SAME page?  If so you might be able to use wddx and xml??? maybe??
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.
GGena changed the proposed answer to a comment
ASKER CERTIFIED SOLUTION
Avatar of GGena
GGena

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial