Click here to Skip to main content
15,888,610 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to update Gridview with value textbox = Null Pin
zaimah17-Oct-12 6:04
zaimah17-Oct-12 6:04 
GeneralRe: How to update Gridview with value textbox = Null Pin
Eddy Vluggen17-Oct-12 9:20
professionalEddy Vluggen17-Oct-12 9:20 
AnswerRe: [SOLVED] How to update Gridview with value textbox = Null Pin
josephSurgeon31-Oct-12 4:27
josephSurgeon31-Oct-12 4:27 
QuestionIndex was outside the bounds of the array Pin
etteychan12-Oct-12 19:03
etteychan12-Oct-12 19:03 
AnswerRe: Index was outside the bounds of the array Pin
Richard MacCutchan12-Oct-12 21:07
mveRichard MacCutchan12-Oct-12 21:07 
QuestionConfused by my own code: LINQ FirstOrDefault Pin
Steven St. John11-Oct-12 13:18
Steven St. John11-Oct-12 13:18 
AnswerRe: Confused by my own code: LINQ FirstOrDefault Pin
Steven St. John16-Oct-12 6:58
Steven St. John16-Oct-12 6:58 
QuestionVB.NET Parameters error Pin
Diego Carrion11-Oct-12 4:12
Diego Carrion11-Oct-12 4:12 


Employee ID :



Customer ID :



Order Date :



Shipped Date :



Shipper ID :



Ship Name :



Ship Address :



Ship City :



Ship State/Province :



Ship ZIP/Postal Code :



Ship Country/Region :



Shipping Fee :



Taxes :



Payment Type :



Paid Date :



Notes :



Tax Rate :



Tax Status :



Status ID :


 






<%
Dim Employee_ID, Customer_ID, Order_Date, Shipped_Date, Shipper_ID, Ship_Name,

Ship_Address, Ship_City, Ship_State_Province, Ship_ZIP_Postal_Code, Ship_Country_Region,

Shipping_Fee, Taxes, Payment_Type, Paid_Date, Notes, Tax_Rate, Tax_Status, Status_ID
Dim sConnString, connection, sSQL

Employee_ID=Request.Form("Employee_ID")
Customer_ID=Request.Form("Customer_ID")
Order_Date=Request.Form("Order_Date")
Shipped_Date=Request.Form("Shipped_Date")
Shipper_ID=Request.Form("Shipper_ID")
Ship_Name=Request.Form("Ship_Name")
Ship_Address=Request.Form("Ship_Address")
Ship_City=Request.Form("Ship_City")
Ship_State_Province=Request.Form("Ship_State_Province")
Ship_ZIP_Postal_Code=Request.Form("Ship_ZIP_Postal_Code")
Ship_Country_Region=Request.Form("Ship_Country_Region")
Shipping_Fee=Request.Form("Shipping_Fee")
Taxes=Request.Form("Taxes")
Payment_Type=Request.Form("Payment_Type")
Paid_Date=Request.Form("Paid_Date")
Notes=Request.Form("Notes")
Tax_Rate=Request.Form("Tax_Rate")
Tax_Status=Request.Form("Tax_Status")
Status_ID=Request.Form("Status_ID")

sSQL = "INSERT INTO Orders (Employee_ID, Customer_ID, Order_Date, Shipped_Date,

Shipper_ID, Ship_Name, Ship_Address, Ship_City, Ship_State_Province,

Ship_ZIP_Postal_Code, Ship_Country_Region, Shipping_Fee, Taxes, Payment_Type, Paid_Date,

Notes, Tax_Rate, Tax_Status, Status_ID) Values (" & Employee_ID & ", " & Customer_ID & ",

#" & Order_Date & "#, #" & Shipped_Date & "#, " & Shipper_ID & ", '" & Ship_Name & "', '"

& Ship_Address & "', '" & Ship_City & "', '" & Ship_State_Province & "', '" &

Ship_ZIP_Postal_Code & "', '" & Ship_Country_Region & "', '' & Shipping_Fee & '', '' &

Taxes & '', '" & Payment_Type & "', #" & Paid_Date & "#, '" & Notes & "', '" & Tax_Rate &

"', '" & Tax_Status & "', '" & Status_ID & "')"


sConnString="PROVIDER=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & Server.MapPath

("/database/Examen.mdb")
Set connection = Server.CreateObject("ADODB.Connection")

connection.Open(sConnString)
connection.execute(sSQL)


response.write "The form information was inserted successfully."

connection.Close
Set connection = Nothing
%>

I have an HTML Form that request various data types and I keep getting the following error:

Microsoft JET Database Engine error '80040e10'

No value given for one or more required parameters.

/ordersconnection3.asp, line 32

It's a Microsoft Access Database. Any help will be appreciated.
AnswerRe: VB.NET Parameters error Pin
Simon_Whale11-Oct-12 4:45
Simon_Whale11-Oct-12 4:45 
GeneralRe: VB.NET Parameters error Pin
Diego Carrion11-Oct-12 4:47
Diego Carrion11-Oct-12 4:47 
GeneralRe: VB.NET Parameters error Pin
ChandraRam11-Oct-12 11:06
ChandraRam11-Oct-12 11:06 
QuestionSlow Ping and not guaranteed success Pin
Herboren10-Oct-12 5:44
Herboren10-Oct-12 5:44 
AnswerRe: Slow Ping and not guaranteed success Pin
Dave Kreskowiak10-Oct-12 8:13
mveDave Kreskowiak10-Oct-12 8:13 
GeneralRe: Slow Ping and not guaranteed success Pin
Herboren10-Oct-12 11:33
Herboren10-Oct-12 11:33 
GeneralRe: Slow Ping and not guaranteed success Pin
Dave Kreskowiak10-Oct-12 13:01
mveDave Kreskowiak10-Oct-12 13:01 
GeneralRe: Slow Ping and not guaranteed success Pin
Herboren10-Oct-12 16:20
Herboren10-Oct-12 16:20 
GeneralRe: Slow Ping and not guaranteed success Pin
Dave Kreskowiak10-Oct-12 23:50
mveDave Kreskowiak10-Oct-12 23:50 
GeneralRe: Slow Ping and not guaranteed success Pin
Eddy Vluggen15-Oct-12 1:19
professionalEddy Vluggen15-Oct-12 1:19 
QuestionFunction Not Found From Dll Component Pin
AmbiguousName10-Oct-12 1:57
AmbiguousName10-Oct-12 1:57 
AnswerRe: Function Not Found From Dll Component Pin
Eddy Vluggen11-Oct-12 0:08
professionalEddy Vluggen11-Oct-12 0:08 
GeneralRe: Function Not Found From Dll Component Pin
AmbiguousName12-Oct-12 1:07
AmbiguousName12-Oct-12 1:07 
GeneralRe: Function Not Found From Dll Component Pin
Eddy Vluggen12-Oct-12 1:25
professionalEddy Vluggen12-Oct-12 1:25 
GeneralRe: Function Not Found From Dll Component Pin
AmbiguousName12-Oct-12 1:54
AmbiguousName12-Oct-12 1:54 
GeneralRe: Function Not Found From Dll Component Pin
Eddy Vluggen12-Oct-12 2:10
professionalEddy Vluggen12-Oct-12 2:10 
QuestionBlank Asp webpage. Pin
miss7868-Oct-12 0:08
miss7868-Oct-12 0:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.