iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-27-2008, 05:36 PM
WebProWorld Member
 
Join Date: Jun 2004
Location: U.K. - Sussex
Posts: 50
thebigdishman RepRank 0
Default VB error code 800A0400

I have the above famous error code and of course everything stops

This is the code:

<%
Master = request.constring("Master")

'Set the connection to the ODBC name on the server
'
'Conn.Open ("Transtext")
'
Set Conn = Server.CreateObject("ADODB.Connection")
conString = "DBQ=D:\private\files\transtext.mdb"
Conn.Open "DRIVER={Microsoft Access Driver (*.mdb)};"
& conString

set rsData=Conn.execute("select * from [Menu] where Master = " & Master)
%>

The error occurs at the line after "& constring" and the message is "Expected statement"

All help and suggestions gratefully appreciated.
__________________
Regards
The Big Dish Man bdfoto99@yahoo.co.uk
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Analytics: Failed to Obtain Webpage: Error Code 0 pablowerk Webmaster Resources Discussion Forum 0 04-09-2007 05:59 PM
HTTP Error Code 404 dion2 Search Engine Optimization Forum 1 08-01-2006 10:35 AM
"301 error" bad or good redirection code? incrediblehelp Search Engine Optimization Forum 0 10-03-2005 02:56 PM
Runtime Error - Line 1 - Error Syntex Error charms987 Graphics & Design Discussion Forum 6 07-29-2005 12:56 PM
Code Error... Need Help Soon dezigner Web Programming Discussion Forum 2 06-26-2005 02:01 PM


All times are GMT -4. The time now is 08:57 AM.



Search Engine Optimization by vBSEO 3.3.0