Advertisement

07.16.2008 at 05:47AM PDT, ID: 23569369
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.0

Inserting Data into an Access database with ASP

Asked by emzi19 in Active Server Pages (ASP)

Tags:

Hi, my code seems to do nothing at all for some reason or another. I am trying to enter details in an access database. But nothing is happening.

Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
Set adoCon = Server.CreateObject("ADODB.Connection")
if error <> 0 then
	response.write error
	response.write error.description
end if
 
Set Recordset = Server.CreateObject("ADODB.Recordset")  
if error <> 0 then
	response.write error
	response.write error.description
end if
 
adoCon.Open ("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("../Data/customers.mdb"))
if error <> 0 then
	response.write error
	response.write error.description
end if
 
sql = "INSERT INTO Orders (ID, Orderreference, PurchaseOrder, Account, DeliveryAccount, DeliveryCompany, DeliveryAddress1, DeliveryAddress2, DeliveryAddress3, DeliveryAddress4, DeliveryAddress5, deliveryAddress6, Company, Address1, Address2, Address3, Address4, Address5, Address6, DeliveryOption, confirmationname, phone, emailaddress, message, partno1, partno2, partno3, partno4, partno5, partno6, partno7, partno8, partno9, partno10, qty1, qty2, qty3, qty4, qty5, qty6, qty7, qty8, qty9, qty10, Orderdate)"
 
SQL = SQL & " VALUES( 0 ," & strFileName & "' , '" & strpurchaseorder & "' , '" & customeraccount & "' , '" & deliveryaccount & "' , '" & deliveryparty & "' , '" & deliveryaddress1 & "' , '" & deliveryaddress2 & "' , '" & deliveryaddress3 & "' , '" & deliveryaddress4 & "' , '" & deliveryaddress5 & "' , '" & deliveryaddress6 & "' , '" & buyerparty & "' , '" & buyeraddress1 & "' , '" & buyeraddress2 & "' , '" & buyeraddress3 & "' , '" & buyeraddress4 & "' , '" & buyeraddress5 & "' , '" & buyeraddress6 & "' , '" & postageoption & "' , '" & confirmationname & "' , '" & phonenumber & "' , '" & emailaddress & "' , '" & ordermessage & "' , '" & partnumber1 & "' , '" & partnumber2 & "' , '" & partnumber3 & "' ,  '" & partnumber4 & "' ,'" & partnumber5 & "' ,'" & partnumber6 & "' ,'" & partnumber7 & "' ,'" & partnumber8 & "' ,'" & partnumber9 & "' ,'" & partnumber10 & "' ,'" & Qty1 & "' ,'" & Qty2 & "' ,'" & Qty3 & "' ,'" & Qty5 & "' ,'" & Qty6 & "' ,'" & Qty7 & "' ,'" & Qty8 & "' ,'" & Qty9 & "' ,'" & Qty10 & "' ," & dateordered & " )"
on error resume next
adoCon.Execute(SQL)
 
if err.number <> 0 then
	upd_err = 1
end if
on error goto 0
[+][-]07.16.2008 at 05:50AM PDT, ID: 22015327

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 05:52AM PDT, ID: 22015352

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 05:52AM PDT, ID: 22015353

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 05:55AM PDT, ID: 22015369

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 05:56AM PDT, ID: 22015377

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 05:59AM PDT, ID: 22015412

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 06:05AM PDT, ID: 22015453

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 06:08AM PDT, ID: 22015472

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 06:11AM PDT, ID: 22015504

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 06:16AM PDT, ID: 22015547

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 06:17AM PDT, ID: 22015557

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 06:22AM PDT, ID: 22015619

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 06:25AM PDT, ID: 22015644

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Active Server Pages (ASP)
Tags: ASP
Sign Up Now!
Solution Provided By: cyberwebservice
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.16.2008 at 06:34AM PDT, ID: 22015729

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 06:35AM PDT, ID: 22015742

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 06:39AM PDT, ID: 22015772

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628