Help with syntax error

Reply

Join Date: Mar 2006
Posts: 14
Reputation: chaom79 is an unknown quantity at this point 
Solved Threads: 0
chaom79 chaom79 is offline Offline
Newbie Poster

Help with syntax error

 
0
  #1
Apr 12th, 2006
Hi guys,

Right now I develop a website that use Microsoft Access database. So, I've developed a database that store all my pics and videos. But when I tried to make a recordset (this is a command in Dreamweaver MX, as I use it to develop my web pages) to call the database, this error dialog window occured;

Microsoft ODBC Microsoft Access Driver
Syntax error in FROM clause

This never occured for other database I've developed before. So, can you figure it out whats wrong with it and how to fix it? Thanks in advanced.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 239
Reputation: extofer is an unknown quantity at this point 
Solved Threads: 5
extofer's Avatar
extofer extofer is offline Offline
Posting Whiz in Training

Re: Help with syntax error

 
0
  #2
Apr 12th, 2006
That means you have an error on your SQL statement. What is the code in your application that you're using for the recordset??
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 14
Reputation: chaom79 is an unknown quantity at this point 
Solved Threads: 0
chaom79 chaom79 is offline Offline
Newbie Poster

Re: Help with syntax error

 
0
  #3
Apr 13th, 2006
Do you mean this one?;

<a href="numdetails.asp?id=<%=(Recordset1.Fields.Item("id").Value)%>"><%=(Recordset1.Fields.Item("number").Value)%></a></font></div></td>
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 239
Reputation: extofer is an unknown quantity at this point 
Solved Threads: 5
extofer's Avatar
extofer extofer is offline Offline
Posting Whiz in Training

Re: Help with syntax error

 
0
  #4
Apr 13th, 2006
If you're letting Dreamweaver do the coding, then the other problem might be on the Table on your database... are you sure you have the table available on the database??
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 483
Reputation: campkev is an unknown quantity at this point 
Solved Threads: 19
campkev campkev is offline Offline
Posting Pro in Training

Re: Help with syntax error

 
0
  #5
Apr 14th, 2006
what does your select statement look like?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC