G
Guest
I am using FrontPage 2002 on an ISP running MySQL database, ChiliSoft ASP and
Linux. I created an input form and a results table using the database
results wizard.
The wizard generates the SQL query as
fp_sQry="SELECT * FROM Reqmnts WHERE (Retailer = '::Retailer::')"
This is evaluated as bad SQL by MySQL (database results error message)
MySQL appears to be looking for the following code
="SELECT * FROM Reqmnts WHERE Retailer = "Retailer""
How do I get FrontPage to permit double quotes within quotes?
I have run a test by coding in
response.write Request.Form("Retailer") and the server writes out the name
entered in the Form box
If I use a custom query where I specify a specific value within the Column
Retailer, the the code is generated correctly and everything works.
For example,
fp_sQry="SELECT * FROM Reqmnts WHERE (Retailer = 'CVS')"
works correctly.
Linux. I created an input form and a results table using the database
results wizard.
The wizard generates the SQL query as
fp_sQry="SELECT * FROM Reqmnts WHERE (Retailer = '::Retailer::')"
This is evaluated as bad SQL by MySQL (database results error message)
MySQL appears to be looking for the following code
="SELECT * FROM Reqmnts WHERE Retailer = "Retailer""
How do I get FrontPage to permit double quotes within quotes?
I have run a test by coding in
response.write Request.Form("Retailer") and the server writes out the name
entered in the Form box
If I use a custom query where I specify a specific value within the Column
Retailer, the the code is generated correctly and everything works.
For example,
fp_sQry="SELECT * FROM Reqmnts WHERE (Retailer = 'CVS')"
works correctly.