Active Server Pages

Moderators: None (Apply to moderate this forum)
Number of threads: 1763
Number of posts: 4498

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Why do i get 'Operation must use an updateable query' Posted by Darkforces on 13 Sept 2002 at 3:15 AM
When trying to execute the following SQL statement from my ASP script.


strSQL = "UPDATE tblOutlets SET " &_
"company='" & fixQuotes(form_company) & "', " &_
"address='" & fixquotes(form_address) & "'," &_
"area='" & fixquotes(form_area) & "' " & "WHERE " &_
"voucher_id = " & form_voucherid

Id appreciate any help you can give!

Report
Re: Why do i get 'Operation must use an updateable query' Posted by ravikanth on 13 Sept 2002 at 1:32 PM
try to print the query and execute in query analyser or what ever u use...

Report
Re: Why do i get 'Operation must use an updateable query' Posted by CrackerX on 20 Sept 2002 at 12:23 AM
Hi,
The problem is that I_USR_MACHINE does not have execute permissions on the folder where your database is located. If this is running on your local machine, set this up in IIS properties or ask your hosting provider to give full permissions.



: When trying to execute the following SQL statement from my ASP script.
:
:
: strSQL = "UPDATE tblOutlets SET " &_
: "company='" & fixQuotes(form_company) & "', " &_
: "address='" & fixquotes(form_address) & "'," &_
: "area='" & fixquotes(form_area) & "' " & "WHERE " &_
: "voucher_id = " & form_voucherid
:
: Id appreciate any help you can give!
:
:

Report
Re: Why do i get 'Operation must use an updateable query' Posted by Darkforces on 24 Sept 2002 at 3:28 AM
cheers mate that great ive got it sorted now

: Hi,
: The problem is that I_USR_MACHINE does not have execute permissions on the folder where your database is located. If this is running on your local machine, set this up in IIS properties or ask your hosting provider to give full permissions.
:
:
:
: : When trying to execute the following SQL statement from my ASP script.
: :
: :
: : strSQL = "UPDATE tblOutlets SET " &_
: : "company='" & fixQuotes(form_company) & "', " &_
: : "address='" & fixquotes(form_address) & "'," &_
: : "area='" & fixquotes(form_area) & "' " & "WHERE " &_
: : "voucher_id = " & form_voucherid
: :
: : Id appreciate any help you can give!
: :
: :
:
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.