Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error create table

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have this error when executing the statement:
Microsoft VBScript runtime error '800a01a8'
Object required: ''

My code (extract):
strQuery="Create Table tbl_" & PartGroupName & " (General_Information varchar(50), Released_Part_Number varchar(50))"
Response.Write strQuery
objRS.Open strQuery, objConn
 
Can you show more code? Either objRS, or objConn is not set above... www.vzio.com
ASP WEB DEVELOPMENT



 
Hi, this should work:

strQuery="Create Table tbl_" & PartGroupName & " (General_Information varchar(50), Released_Part_Number varchar(50))"
Response.Write strQuery
objConn.Execute strQuery

Nick (Web Developer)


nick@retrographics.co.uk
 
Thanks, I had forgotten to put my include file 'ConnectToDB' at the beginning
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top