I think you are missing quotes around your value.
If you were to write out you code without varables it would look like:
SqlStr = "UPDATE Product SET Product_Name ='Name' WHERE Product_Id =lId;
Put single quotes in your where clause like you did your Set clause. IE..
SqlStr = "UPDATE Product...
I am trying to write a script that posts data to a form and gets information from the results of the post. Basicaly, I need the script to be able to post a Employee ID number to our company's website and then parse the email address and other important data from the resulting page.
The problem...
I am trying to write a script that looks for “Account Management” events in the security log and backs up the log if any are found. I have 2 problems with my script.
1. My Log manipulation function should be a subroutine, but when I make it a sub I get an error that says that you can not use...
tsuji,
Here are the answers to your questions. Let me first start by saying that my experience with JavaScript up until now has been purly for DHTML. I am fairly new to scripting, as you could probably tell, so some of my meathodology may seam wierd.
[1] The script is working right now. I...
tsuji,
You are awesome. All of your postes have been incredibly helpful. I really appreciate all of your help. My script is looking great. If you could show me how to do the last part of my last post I will be in your debt.
Thanks a lot,
James
Thanks again. It looks like I almost have it working. The IE windows opens, the form comes up, but nothing happens when I click on the OK button. If I do a right click -> View Source and paste the source into another file the form works fine. It just won't work when I run it in the script...
Thank you very much for your help. It works great. Of course now my tiny brain has thought of a great improvment to the same script that I can't figure out. I want to have the html form created on the fly so that when I distribute my scripts to my fellow techs I don't have to include the...
I have a jscript file that I use to enumerate several pieces of information from all of my servers. Right now the username, password, file with list of servers, and output file are all hard coded into the script. I need to be able to make them dynamic. I got a solution off of the Microsoft...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.