| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Senior Member
Join Date: Aug 2006
Posts: 389
|
Object Required error (SQL and ASP)
Hi there, I'm having a few issues with an ASP website I'm trying to build. Basically, its connected to a database in MS Access (I know its not the best choice, but the database is only small) and I have a number of different SQL commands, coupled with ASP to make an ASP e-commerce type site. I have managed to get products displayed in the basket table of my database, and I need to do the same with products that are found within the 'search' function. So I have a table displaying items that have been found through the search. This table looks like this: Code:
The SQL statement to generate these items looks like this: Code:
Now the search works perfectly. But when I try and add them to the basket (a separate table in my database), I get an arror saying 'Object Required ".' It also generates a line that the error is on. I have been using the Insert Record feature of Dreamweaver (again, I know its not the best way to do things, but its worked on the other pages, and its the only way I know!) I'd like to know how to handcode the Insert. I can do this without problem when the information is coming from fields within a form, but when they are search results, I'm a bit lost. I guess I need to know how to post the search results from the first page into the second page. I hope this makes sense, and I'm sorry for rambling on, but any help would be very much appreciated. Thanks Neil |
|
|
|
![]() |