>>sql=select * from table where value='"& value2 &"'"
>>
>>and then went if value1 <> value2 then
>>"data is invalid"
So is the field named value or value1?
Didn't you just want to check to see if there were any matches and if not display your message? Maybe I'm...
Hey BullSchmidt I like the bar charts on your site. I thought of that same thing a few years ago, but I was going to have it span the last 30-31 days, like for sales trends and performance. I thought that maybe it wasn't going to be quick loading and started looking into graph generators. How...
Sorry it took so long. I had to tuck the wife in...haha. She's pregnant and can hardly stand the late hours any more.
>>I'd like to have the NEW icon only show up if a record is no more than an hour old.
Well, here ya go. I had to think about this one for a minute. Let me know what you think...
For starters you'll need to call the images for "severity". If they are named like you said, all you have to do is the following:
<img src="severity<%=rs("Severity")%>.gif" border="0">
===============
For the space under the dropdown move the form tags...
Your <option> inside the loop also says "All"...
<%if MyApplication = "All" then%>
Rather it should say
<%if MyApplication = rsApp("Application") then%>
One more thing. You can get the dropdown to display the option that you are currently filtering by doing the following to both the "ALL" line and the looped line...
CHANGE:
<%
<option value="MultiRecords.asp?MyApplication=All">All Applications</option>
<option...
Let me explain that last one further. If the record has a status of some severity, and I'm assuming that it's either Severe or Not Severe. Then it should be a Yes/No DataType.
If there are different severity levels like 1 through 5 then the field should be numeric using 1 through 5 and the...
Oh yeah. DataType for images should probably be Yes/No (formatting set to true/false).
CHANGE:
<td width="13%" align="center" bgcolor="#ECECFF"><font face="Arial" size="2"><%=rs("Severity")%></font></td>
TO:
<td...
Looks great. MultiReacords was just the name of the file that I used. Change your options as follows:
FROM:
<select size="1" name="MyApplication" onChange="if(this.options[this.selectedIndex].value!='$')...
Really? Explain this then...
Active Server Pages error 'ASP 0130'
Invalid File attribute
/login/LoginProcess.asp, line 1
File attribute '/connect.inc' cannot start with forward slash or back slash.
Yeah, help you solve what problem? You had a sentence that said you could delete files and that it happens. What do you want to do, delete or not delete? If not, try renaming your file as you upload it to something distinct like filename_timestamp.jpg or something.
Almost forgot. I have the column headings (HTML) within the recordset loop as I do the data columns, however it is only displayed once as I am counting records as I loop. I put the row with those headings inside the loop rather than outside the loop because as data gets longer and stretches...
As promised, here it is. You can use images instead of new, status, and severity columns. I'm assuming that those columns are Yes/No columns. I usually set the format for those to True/False as it is more similar to MsSql Server's "bit" data type, which is 1/0 (true/false). I believe...
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.