Home | Advertising Info148 USERS CURRENTLY ONLINE   
   Site Search Contact Us Saturday, October 25, 2014  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 
Try a free httpZip trial now and compress for less!


We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Problem with reading integer value from a FORM
From: Ronny Scheffer
Date: 10/18/1999 4:33:00 PM
IP: 212.120.66.194



 

Hello,

I was wondering if someone could help me.
I’m having a problem with my database. I would like to remove a record from the database table “vraag_tabel”, but ik keep getting an ODBC error about a typemismatch.
I think it’s about the fact that “vraagid” is an integer an that “Request.Form("vraagid") only gets strings from the form. I don’t know how to solve this problem.
How do I convert the types?
“vraagid” is imported from the form (right_admin_removefaq.asp) and is a hidden inputtype. “vraagid” comes out of the database “help” and is a number that is automaticly generated.
The errorcode:
Microsoft OLE DB Provider for ODBC Drivers error 80040e07

Ik would like to remove all fields from the database that are owned by “vraagid”. “Vraagid” is the primary-key.

Greetings,
Ronny Scheffer

Down here the source code of my application.
----------------------------------------------
Right_admin_removefaq.asp
<HTML>
<HEAD>
<TITLE>COMPUHelp Vraag verwijderen</TITLE>
</HEAD>

<% Dim dbConn %>
<% Dim SQL1 %>
<% Dim result1 %>

<% Set dbConn=Server.CreateObject("ADODB.Connection") %>
<% dbConn.Open"help" %>
<% SQL1="SELECT * FROM vraag_tabel" %>
<% Set result1=dbConn.Execute(SQL1) %>

<FORM METHOD="post" ACTION="right_admin_faqremoved.asp" ><TABLE CELLSPACING="2" CELLPADDING="2" BORDER="0">˙LM/W3SVC/4/Root

Follow Up - Re: Problem with reading integer value from a FORM - Tim 10/26/1999 8:05:23 AM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2014 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com