In my code I have this line
If not file.IsMissing Then
Is this what you mean by checking to see if the filename has been entered?
Quincy
http://www.512ryders.com
I am using aspjpeg to create thumbnails and reduce original image size. I have a script that can upload up to 5 images at a time. Another script handles the form and uses the aspjpeg component to alter the images then updates a database with the paths, size, length, width, etc. I get an error...
I have an alter statement that I am using which is giving me the error "Incorrect syntax near the keyword 'DEFAULT'" The current field eventSubmissionDate is the data type timestamp
alter table tbl_Events ALTER COLUMN eventSubmissionDate datetime not null DEFAULT getdate()
Quincy...
I want to disable the form submit buttons before submitting the form. I am not sure where to enter the code.
<SCRIPT LANGUAGE="JavaScript">
<!--
function confirmSubmit()
{
if (document.form1.txtName.value.length < 1
|| document.form1.txtURL.value.length < 1)
{
alert("You must fill in...
I may possibly have a virus that I can't clean. My antivirus hasn't ran a complete disk scan for a couple of months. It keeps crashing and showing the blue screen of death. When that happens it takes a long time and numerous days of restarts and shutdowns to get it going again until the next...
By hits I mean counting the number of times the image has been viewed. Just like you would pass your mouse over the next link it would show the next page number I want to show the next image id along with the page number because I am only showing 1 record per page.
Quincy
http://www.512ryders.com
I have a script where I use recordset paging and it works fine. There are previous and next links to navigate. I currently only have one record showing at a time. It is a photo gallery. I want to be able to get the id of the next and previous unique id while i am viewing the current photo so I...
I am trying to get the correct sql. I am trying to get the image name for the image with the most hits. This concerns two fields: imageFileName and imageHits in tbl_Images. It is a subquery. I am receiving this error. Can anyone help me?
Error Type:
Microsoft OLE DB Provider for ODBC Drivers...
I just tested it and everyone of the entries reads 0 length. If I changed the datatype from text to varchar would that damage the data.
Quincy
http://www.512ryders.com
I tried your example and nothing is displayed. I am doing queries on the database so I know the data is there. Here is the modified code
strQuery = "SELECT eventTitle, eventDescription, eventURL, eventStartDate, eventStartTime, eventEndDate, eventEndTime, eventLocationCity, eventLocationState...
I have an event database in sql server 2000 with a phone number field with datatype text and it will not display in my asp page and i am not sure why. I know there is some data in the table because I entered a few events. Can someone help?
Here is the code
strPhone1 =...
Thanks for the responses. Here is what I used
<input name="filePicture" type="file" id="filePicture" />
<input type="button" name="Submit2" value="Preview" onclick="nonRTEpreview();" />
<script language="JavaScript">
<!--
function nonRTEpreview() {
var confirmWin = window.open('preview.asp'...
I am asking anyone who knows the code to post this. In a html form you can have a file field with the browse button, what would be the code for a preview button if you wanted to make sure an image file is the correct one.
Quincy
http://www.512ryders.com
I am asking anyone who knows the code to post this. In a html form you can have a file field with the browse button, what would be the code for a preview button if you wanted to make sure an image file is the correct one.
Quincy
http://www.512ryders.com
I have added a password field to my members database. I want to add a unique password to each member in the table. The code I have created does not update all the fields, it seems to only loop around the first record and constantly update it with new passwords. It is somehow stuck in that loop...
I am using the supported mode of Eudora 6.0 on W2KPro. Almost everytime I open Eudora and it filters my emails the messages left to filter will loop indefinitely at 0 until you press the stop button. It will do this even if I have just received 1 email. How can this be fixed?
Also how do you...
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.