MiRed Posted July 8, 2012 Share Posted July 8, 2012 Hi, I get an asp error object required . My code is as follows: updatequery = "UPDATE prodlist set Prod_SKU='"&sku&"', Prod_Description='"&descr&"', Prod_ManufactureNum='"&manNum&"', Prod_NAME='"&Name&"' where auto_id='"&auto_id&"'" response.write " updatequery:" & updatequery set rs = oConn.execute (updatequery,lngRecs,1) i have this: dim oConn, rs in a global config file. It works on a different page but now somehow doesnt. Can anyone see the mistake? The error is from the line which starts with set. Thanks in advance for your help! Quote Link to comment https://forums.phpfreaks.com/topic/265389-aps-error-object-required/ Share on other sites More sharing options...
MiRed Posted July 9, 2012 Author Share Posted July 9, 2012 Ok, I've found the error. I put the include inside the asp tags instead of outside. Therefore it didnt recognise the oConn object. Thanks anyway ! Quote Link to comment https://forums.phpfreaks.com/topic/265389-aps-error-object-required/#findComment-1360306 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.