473,474 Members | 1,353 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

getting error message arguments are wrong type, are out of acceptable range or are in

1 New Member
Expand|Select|Wrap|Line Numbers
  1. <head>
  2.  <%@ page import="java.sql.*"%>
  3. <% %>
  4. <script language="javascript" type="text/javascript"> 
  5. function getSubmit() 
  6.           var calldisposition1 = calldisposition.value;
  7.           var Lob1 = Lob.value;
  8.           var auditcount1 = auditcount.value;
  9.           var cn = new ActiveXObject("ADODB.Connection");
  10.           var strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = G:rajneesh.mdb"; 
  11.           cn.Open(strConn);
  12.           var rs = new ActiveXObject("ADODB.Recordset"); 
  13.       var SQL = "INSERT INTO AuditTracker(calldisposition, Lob, auditcount)" + "VALUES ('"&calldisposition1.value&"','"&Lob1.value&"','"&auditcount1.value&"')";
  14.  
  15. //st.executeQuery("INSERT INTO AuditTracker VALUES ('"&calldisposition1.value&"','"&Lob1.value&"','"&auditcount1.value&"')");
  16. rs.Open(SQL,cn); 
  17. //cn.execute("INSERT INTO AuditTracker VALUES('"&calldisposition1.value&"','"&Lob1.value&"','"&auditcount1.value&"')");
  18. rs.Close(); 
  19. cn.Close();
  20. }
please suggess me the right code
Sep 15 '11 #1
1 1396
Dormilich
8,658 Recognized Expert Moderator Expert
which line does the error (could you paste the full error message) stem from?

from the bit I can read, I’d say it’s unrelated to standard JavaScript.

for ActiveX related problems MSDN is the primary resource to find help/documentation.
Sep 15 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: ArcadeJr | last post by:
Good morning all! I have been getting a Run-time Error message #3464 - Data Type mismatch in criteria expression. While trying to run a query. I have a database where the field Asset_Number...
4
by: Ondrej Spanel | last post by:
The code below does not compile with .NET 2003, I get folowing error: w:\c\Pokusy\delegTemplArg\delegTemplArg.cpp(11) : error C2993: 'float' : illegal type for non-type template parameter 'x' ...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
1
by: Jeff | last post by:
I am testing my ASP page and when I click on the link to open up my new asp page I get "page cannot be displayed". When another person clicks on the she gets a descriptive error message about a...
0
by: WebDev2 | last post by:
I can't get AJAX.NET Pro to work. I keep getting a Compiler Error Message: CS0246: The type or namespace name 'AjaxPro' could not be found (are you missing a using directive or an assembly...
0
by: daniel_xi | last post by:
Hi all, I am getting this error message when I try to open a project in Visual Studio .NET 2003. Now, this is happening only for one of my projects, the rest are fine. This particular project is...
4
by: infinetinc | last post by:
I'm receiving the following error when this site is published to the production environment: Compiler Error Message: CS0246: The type or namespace name 'GridViewHelper' could not be found (are you...
2
by: sesling | last post by:
Our Database stores event messages in a table called eventnotifications. The table has a message type column. There are two types of messages (alert or info). I have created a form that includes a...
7
by: rajkumarbathula | last post by:
Hi I am creating a usercontrol in .net and using that as webpart in sharepoint site. i want to make use of ajax in my user control. and hence i added scriptmanager, updatepannel and update...
10
by: Anthony97 | last post by:
I get the following error message Run-time error '2455' you entered invalid reference to the property FileSearch ...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.