I am very tired and mentally sick with my little code. I dont know where i make 
a mistake even i change the database and this time i convert into Access 97 but 
it still gives error. Same code i use to display the record and it works fine 
but when i use it for inserting records it gives error. I dont know what is the 
mistake.

Error: There is a problem with the page you are trying to reach and it cannot 
be displayed.

I upload it onto brinkster site with login id: readgroup and pwd: aydayd12

I dont understand where the error is. ANY HELP WILL BE VERY APPRECIATE
---------------------------------------

<% @ Language=VBScript %>

<%

mnam1="Ehti"

Dim con, scon

Set con = Server.CreateObject("ADODB.Connection")
scon = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
              "Data Source=\\genfs1\www16\readgroup\db\trucking.mdb;" & _
              "Persist Security Info=False"
con.Open(scon)

Set rs = con.Execute("INSERT INTO vend (name) VALUES ('" & mnam1 & "')")

con.Close
Set con = nothing

%>


---------------------------------

Thanks,

Kirpa

                
---------------------------------
 Start your day with Yahoo! - make it your home page 

[Non-text portions of this message have been removed]






------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h3bf6u4/M=362131.6882499.7825260.1510227/D=groups/S=1705115381:TM/Y=YAHOO/EXP=1124062346/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [email protected]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to