navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

what is wrong?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> what is wrong?
Page: [1]
 
box

 

Posts: 130
Joined: 12/10/2002
Status: offline

 
what is wrong? - 1/13/2008 19:49:31   
<!--#include file="_fpclass/fpdblib.inc"-->
<%
fp_sQry="INSERT INTO ptinfo (firstname, middlename, lastname, status, socialnumber, birthdate, gender, address, city, region, country, zip, homephone, cellphone, workphone, emailaddress, employer, jobtitle, emername, emerperson, emerphone, abdomen, arms, buttocks, fot, bot, sot, specialnote, howfound, referredby, followup, enrolled, submittedby, todaydate) VALUES ( '::firstname::', '::middlename::', '::lastname::', '::status::', '::socialnumber::', '::birthdate::', '::gender::', '::address::', '::city::', '::region::', '::country::', '::zip::', '::homephone::', '::cellphone::', '::workphone::', '::emailaddress::', '::employer::', '::jobtitle::', '::emername::', '::emerperson::', '::emerphone::', '::abdomen::', '::arms::', '::buttocks::', '::fot::', '::bot::', '::sot::', '::specialnote::', '::howfound::', '::referredby::', '::followup::', '::enrolled::', '::submittedby::', '::todaydate::') "
fp_sDefault=""
fp_sNoRecords=""
fp_sDataConn="pt"
fp_iMaxRecords=256
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=False
fp_fMenuFormat=False
fp_sMenuChoice=""
fp_sMenuValue=""
fp_iDisplayCols=16
fp_fCustomQuery=True
BOTID=0
fp_iRegion=BOTID
%>

<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--#include file="_fpclass/fpdbrgn2.inc"-->

I get the following error:

Database Results Error
Unable to find operator in query string. Query string currently is INSERT INTO ptinfo (firstname, middlename, lastname, status, socialnumber, birthdate, gender, address, city, region, country, zip, homephone, cellphone, workphone, emailaddress, employer, jobtitle, emername, emerperson, emerphone, abdomen, arms, buttocks, fot, bot, sot, specialnote, howfound, referredby, followup, enrolled, submittedby, todaydate) VALUES ( '::firstname::', '::middlename::', '::lastname::', '::status::', '::socialnumber::', '::birthdate::', '::gender::', '::address::', '::city::', '::region::', '::country::', '::zip::', '::homephone::', '::cellphone::', '::workphone::', '::emailaddress::', '::employer::', '::jobtitle::', '::emername::', '::emerperson::', '::emerphone::', '::abdomen::', '::arms::', '::buttocks::', '::fot::', '::bot::', '::sot::', '::specialnote::', '::howfound::', '::referredby::', '::followup::', '::enrolled::', '::submittedby::', '::todaydate::')


Any idea? Thanks
Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: what is wrong? - 1/13/2008 19:57:05   
I would have said reserved word, but I dont see anything that jumps out at me

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to box)
box

 

Posts: 130
Joined: 12/10/2002
Status: offline

 
RE: what is wrong? - 1/13/2008 21:34:17   
if i use frontpage form to insert the data it works, so it doesnt look like reserved words! I dont know!

(in reply to Spooky)
bernieboy31

 

Posts: 80
Joined: 3/5/2005
From: London, United Kingdom
Status: offline

 
RE: what is wrong? - 1/14/2008 12:34:20   
Hmm,

1. As the code looks like it has the "Spooky diet" have you tried a ' response.write fp_sQry' to see what the complete string looks like?

2. Are all the fields strings? If not, do you need the ' character to define every field? (See DRW Input syntax under http://www.outfront.net/spooky/advanced.htm)

HTH

(in reply to box)
box

 

Posts: 130
Joined: 12/10/2002
Status: offline

 
RE: what is wrong? - 1/14/2008 18:25:51   
thanks for reply if I add
response.write fp_sQry
response.end

I get the following just I dont know why does not work:)

INSERT INTO ptinfo (firstname, middlename, lastname, status, socialnumber, birthdate, gender, address, city, region, country, zip, homephone, cellphone, workphone, emailaddress, employer, jobtitle, emername, emerperson, emerphone, abdomen, arms, buttocks, fot, bot, sot, specialnote, howfound, referredby, followup, enrolled, submittedby, todaydate) VALUES ( '::firstname::', '::middlename::', '::lastname::', '::status::', '::socialnumber::', '::birthdate::', '::gender::', '::address::', '::city::', '::region::', '::country::', '::zip::', '::homephone::', '::cellphone::', '::workphone::', '::emailaddress::', '::employer::', '::jobtitle::', '::emername::', '::emerperson::', '::emerphone::', '::abdomen::', '::arms::', '::buttocks::', '::fot::', '::bot::', '::sot::', '::specialnote::', '::howfound::', '::referredby::', '::followup::', '::enrolled::', '::submittedby::', '::todaydate::')

(in reply to bernieboy31)
box

 

Posts: 130
Joined: 12/10/2002
Status: offline

 
RE: what is wrong? - 1/16/2008 1:07:40   
any idea please!:)

(in reply to box)
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: what is wrong? - 1/16/2008 10:09:32   
quote:

any idea please!


Is this an Access database and is todaydate a date field in the DB? If so:

'::todaydate::'

needs to look like this:

#::todaydate::#

That help any?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to box)
box

 

Posts: 130
Joined: 12/10/2002
Status: offline

 
RE: what is wrong? - 1/17/2008 2:59:57   
Thanks rdouglass for reply, todaydate is a text field, but what i did to fix the issue was to replace the fpclass folder with the older version! now is working, but I dont get it why!!! any idea? thanks

(in reply to rdouglass)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> what is wrong?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts