We just had our servers upgraded to Microsoft Server 2003 from Microsoft Server 2000. We have a few hundred ASP scripts that we run on the server that also use SQL Server 2000. Most of the scripts are running fine on the new server, but some of them seem to not be able to post to the server.
I...
I have an ASP script that is querying a DB then rendered the results in Excel. The problem is that one of the DB field values that is being returned is "<= 5". This value is not being printed in the excel sheet because I am guessing it is reading it as a formula?? Is there a way to make ALL...
...open on my PC, but all my attempts to make it save directly to the server have failed. Here is my code that simply opens the file:
fsql = "select * from filelibrary.dbo.documents where did = 31"
set frs = conn.execute(fsql)
myfile = frs("binObj")
mymime = frs("mimeType")...
I am using
Response.ContentType = "application/msword"
to download my asp page into Word. The download process works fine but when I open the .doc file the image is missing. The images that are missing are within the html <img> tag of the .asp page. Does anyone know of a way to force the images...
I have an input box that is getting set with javascript to be the current date/time on the clients computer. When the form is posted the date and time is being stored in a DateTime field in SQL Server 2000. The time that shows up in the input box with javascript is in 24hr time which is what I...
I am trying to allow users to view the results for an ASP page in PDF. I am generating my pages using ASP and SQLServer 2000. Does anyone use a PDF converter that they really like? Or have suggestions on how to convert with out having to purchase software? Thanks in advance for the suggestions!!!
Does anyone know if there is a way to have a "return" in a select box? I tried <option>Test<br>This</option> and it simply ignored the <br> Does anyone have any ideas?? Thanks in advance!!!
Well, I think I figured it out!
function fillin()
{
var boxLength = opener.document.Mainform.chosenreqs.options.length++;
var selectedItem = document.Mainform.req.selectedIndex;
if (selectedItem == -1)
alert("You have not selected a field!")
else{
var selectedText =...
OK, the above code worked wonderfully for input boxes on the parent window, however when I try to put options in a select box I get the follwing error "The server has thrown an exception" after which I get an IE error saying my browser is going to close. Obviously something is seriously wrong...
This is the code that I used to validate:
var endDate = new Date(document.Mainform.mydate2.value);
var startDate = new Date(document.Mainform.mydate1.value);
if (startDate > endDate )
{
alert("The end date must be after the start date");
document.Mainform.mydate2.focus();
}
I am not 100%...
I have a pop up and would like to send the data back to window that created the pop up with out posting the page. To be more specific, I have a form, and would like to allow a user to select values out of a popup and those values selected will populate the form in the parent window. Any...
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.