Wrox Programmer Forums
|
BOOK: VBScript Programmer's Reference, 1st, 2nd, and 3rd editions
This is the forum to discuss the Wrox book VBScript Programmer's Reference, 3rd Edition by Adrian Kingsley-Hughes, Kathie Kingsley-Hughes, Daniel Read; ISBN: 9780470168080
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: VBScript Programmer's Reference, 1st, 2nd, and 3rd editions section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 25th, 2004, 10:58 AM
Registered User
 
Join Date: May 2004
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default need a solution fpr recordset.adnew

hi
all code experts I'm getting problem in inserting record through record set
I'm using this method

recordset.addnew
recordset("field1") = request("val")
recordset("field2") = request("val2")
recordset.update
recordset.close

ths code is working fine only when i'm giving all values whenever i leave any field it return error

Error Type:
Provider (0x80020005)
Type mismatch.

althuogh in database(SQL SErver 7) null allowed in that field

please solve this problem ASAP

regards,
Farooq


azeem





Similar Threads
Thread Thread Starter Forum Replies Last Post
Clone DAO Recordset into ADO Recordset kamrans74 VB How-To 0 March 6th, 2007 11:57 AM
Query from Recordset into another Recordset kamrans74 Pro VB Databases 5 March 5th, 2007 04:17 PM
Ch 14 AdNew.asp example - Acess permission problem pycockd BOOK: Beginning ASP 3.0 4 February 7th, 2006 06:36 PM
ADODB.Recordset (0x800A0CB3)Current Recordset does tks_muthu Classic ASP Databases 0 June 16th, 2005 07:22 AM
Convert ADO recordset to DAO recordset andrew_taft Access 1 May 5th, 2004 02:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.