AJAX Forums

Ajax + Sql String Problem.

This is a discussion on Ajax + Sql String Problem. within the AJAX Ideas forums, part of the General category; Hello, i've made a function for ajax self use. the function get the defulte aguments (str,fieldName,responseType) the responsetype its an argument that help me to get the ...


Go Back   AJAX Forums > General > AJAX Ideas

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 06-18-2007, 09:26 AM   #1 (permalink)
Junior Member
 
Join Date: Jun 2007
Posts: 1
Rep Power: 0 kronenfeld is on a distinguished road
Ajax + Sql String Problem.

Hello, i've made a function for ajax self use.

the function get the defulte aguments (str,fieldName,responseType)

the responsetype its an argument that help me to get the data show in any way i want.

my problem is that i want to show a table using SELECT the select tag and AJAX. until the part that the data is shown i've made good.

the problem start when i want to add links to the data.
the sulotion its to put inside the SQLSTRING the links... but the problem is like that:

this is the sqlstring:

xmlHttpSqlString ="SELECT tblCustomersBranches.branch As [Branch], tblCustomersBranches.BranchID AS Code +'A' FROM tblCustomersBranches WHERE tblCustomersBranches.CustomerID = "


-------------------------------------------------------------------------


getXmlHttpData('"& xmlHttpSqlString & " '+ this.value,'Branches',2,'list')","[ Click to choose ]"

but then i get an error that say:

error: expected ')'

what should i do?
kronenfeld is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes



All times are GMT -4. The time now is 05:57 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com