![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I am using CharonCart3 and On the product_insert.asp page there is a section of code (part of which is below) which inserts the new product: % if AccessGroupID <> 2 then if Request("selected") <> "" then ProductsRS.AddNew ProductsRS("Product")=Request("Product") ProductsRS("Description")=Request("Description") ProductsRS("CategoryID")=Request("CategoryID") ProductsRS("ManufacturerID")=Request("Manufacturer ID") ProductsRS("Price")=Request("Price") ProductsRS("InStock")=DoNull(Request("InStock")) ProductsRS("starbuy")=Request("starbuy") The last line is a line I have added myself because I wish to put a checkbox on the page called 'starbuy' which will insert/update a field called 'starbuy' in the access database. However whenever the page is submitted it prdouces the following error: Provider (0x80020005)Type mismatch. Anyone got any ideas as to what code I should use, I am very much a novice. Thanks |
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Hi Les, Thanks for the reply. I want the form to insert into an access database and most of the form consists of standard text fields but I have one checkbox which inserts into a field called 'starbuy' with a 'yes/no' datatpye. Thanks for any help |
![]() |
| Thread Tools | |
| Display Modes | |
| |