Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

ok, im using dreamweaver 2004, and using Asp ( not .net as far as im aware of).

my connection string is :objConn.ConnectionString="Provider = Microsoft.jet.OLEDB.4.0;Data Source =c:/inetpub/mysite/siteDb.mdb"

 

i get my error on this line :

Set objRs.Open = "Customers",objConn,,adLock,adCmdTable

 

i have used a this line in the same format in college for the last while, but now ,when running

it all off my laptop i get this error message:

 

Error Type:

Microsoft VBScript compilation (0x800A0401)

Expected end of statement

/fintan/AddedDetails.asp, line 12, column 28

Set objRs.Open = "Customers",objConn,,adLock,adCmdTable

---------------------------^

 

the "=" after the "open" was asked for, even though i never used that in college and it always

worked for me. anyone any ideas..

 

o, just for reference, im filling data into a form on one page, and trying to insert it into a

access DB on the asp page, and then display the entered info. it was all so simple in college,

but its not working out so well here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...