Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 60
Search took 0.01 seconds.
Search: Posts Made By: dalezjc
Forum: Classic ASP Professional March 25th, 2019, 12:27 PM
Replies: 0
Views: 291
Posted By dalezjc
Update Record Not Working

Hello All,


Been awhile since I posted! (Haven't had a chance to use ASP in a while.)


Anyway, I'm trying to update a record my SQL database and the update APPENDS the new data to the...
Forum: Classic ASP Professional March 7th, 2015, 11:00 PM
Replies: 9
Views: 1,292
Posted By dalezjc
Here's the updated code snippet: ...

Here's the updated code snippet:



response.write "HQ total: "
response.write rsHQ("HQ_total")
response.write " LosAngeles total: "
response.write rsLosAngeles("LosAngeles_total")...
Forum: Classic ASP Professional March 5th, 2015, 09:31 PM
Replies: 9
Views: 1,292
Posted By dalezjc
So I already did you what you suggested and I'm...

So I already did you what you suggested and I'm verifying count totals using response.write(s). Here's what's happening:

1. The HQ count is <> 0 which means it falls through to the city...
Forum: Classic ASP Professional March 5th, 2015, 07:03 PM
Replies: 9
Views: 1,292
Posted By dalezjc
My apology. Didn't mean to offend you. I can...

My apology. Didn't mean to offend you. I can only access this site from home as it's block where I work.

Here's the updated code:

<!--#include file="functions.asp"-->
<%
If...
Forum: Classic ASP Professional March 4th, 2015, 08:10 AM
Replies: 9
Views: 1,292
Posted By dalezjc
Hi Matt, I tried your suggestion (and...

Hi Matt,

I tried your suggestion (and thanks!), but when two locations have alerts only one is displayed. I need to display all the locations if they have alerts.

Dale
Forum: Classic ASP Professional March 2nd, 2015, 08:32 PM
Replies: 9
Views: 1,292
Posted By dalezjc
Complex If Statement

I have the following IF statement but my logic is all wrong. In fact, I'm not sure how to accomplish what I'm trying to do. Here's my goal:

1. I total the alerts from all cities (HQ) and if...
Forum: Classic ASP Basics September 14th, 2012, 09:24 PM
Replies: 0
Views: 2,370
Posted By dalezjc
Passing Parameters to Executable

Summary:
I'm trying to pass variables from an ASP query to an executable.

There are two files:
events.asp - this queries the database and displays the ParentEventID and the KPName.

<%...
Forum: Classic ASP Basics December 30th, 2010, 10:37 AM
Replies: 3
Views: 1,818
Posted By dalezjc
Yes, you are correct sir. I'm doing some sorting...

Yes, you are correct sir. I'm doing some sorting now with some VB code, but it's not very efficient.
Forum: Classic ASP Basics December 29th, 2010, 10:17 AM
Replies: 3
Views: 1,818
Posted By dalezjc
Emulate Excel (Column) Filter Behavior?

This is more of a conceptual question. Has anyone emulated Excel's column filter behavior with classic ASP? I have an ASP page that can return up to 500 rows of data and I'm getting requests from...
Forum: Classic ASP Basics November 5th, 2010, 09:20 AM
Replies: 1
Views: 857
Posted By dalezjc
IF Statement

Okay, I'm doing something really stupid, and can't figure it out. I'm trying to write a simple IF statement in the following context:


<td><font face="Verdana" size=1>
<%
if...
Forum: Classic ASP Basics October 18th, 2010, 09:06 AM
Replies: 4
Views: 1,080
Posted By dalezjc
Thanks OldPendant! You saved the day yet again. ...

Thanks OldPendant! You saved the day yet again.

Dale
Forum: Classic ASP Basics October 13th, 2010, 08:53 AM
Replies: 4
Views: 1,080
Posted By dalezjc
Old Pendant, I should have clarified my...

Old Pendant,

I should have clarified my post. You're right. When the count is empty (and it is sometimes), I'd like it to display (for example) Show Open Events (0). And it does this in the...
Forum: Classic ASP Basics October 12th, 2010, 05:19 PM
Replies: 4
Views: 1,080
Posted By dalezjc
Displaying Zero Count

So I have a checklist I've created for an app that we use, and it displays (among other things) open events, and action-errors counts. In one instance, the hyperlink and its associated count doesn't...
Forum: Classic ASP Basics September 13th, 2010, 11:54 AM
Replies: 5
Views: 1,178
Posted By dalezjc
As usual, you're right on Old Pendant!

As usual, you're right on Old Pendant!
Forum: Classic ASP Basics August 9th, 2010, 03:13 PM
Replies: 5
Views: 1,178
Posted By dalezjc
Right, which is what I'm trying to do: ...

Right, which is what I'm trying to do:


<tr>
<td width=150><font face="Verdana" size=1>
<%response.write rs("server_name")%>
</td>
<td width=150><font face="Verdana" size=1>...
Forum: Classic ASP Basics August 9th, 2010, 11:40 AM
Replies: 5
Views: 1,178
Posted By dalezjc
Eliminate Duplicate Data

I have a query that pulls server data along with script parameters, and there are lots of script parameters for each server, and it looks like this:


server01 NT_CpuLoaded KSG_Policy 7.5.208.0...
Forum: Classic ASP Basics August 9th, 2010, 11:33 AM
Replies: 9
Views: 8,612
Posted By dalezjc
Got it. Thanks!

Got it. Thanks!
Forum: Classic ASP Basics July 26th, 2010, 09:34 AM
Replies: 9
Views: 8,612
Posted By dalezjc
Okay, I'm dense. I don't know where to put the...

Okay, I'm dense. I don't know where to put the Set fld = rsqdb("Management_Group") line. I've tried all over the script I keep getting a Variable is undefined: 'fld' error.

Suggestions?...
Forum: Classic ASP Basics July 23rd, 2010, 12:52 PM
Replies: 9
Views: 8,612
Posted By dalezjc
Old Pendant, Thanks for the tip, it worked!...

Old Pendant,

Thanks for the tip, it worked! One more question. I'm getting the following error now:



Microsoft VBScript runtime error '800a000d'
Type mismatch...
Forum: Classic ASP Basics July 22nd, 2010, 04:16 PM
Replies: 9
Views: 8,612
Posted By dalezjc
Added the SETNOCOUNT ON, but still getting the...

Added the SETNOCOUNT ON, but still getting the same error. Any other suggestions?

Thanks!
Dale
Forum: Classic ASP Basics July 22nd, 2010, 09:05 AM
Replies: 9
Views: 8,612
Posted By dalezjc
Operation is not allowed when the object is closed.

I'm getting a " Operation is not allowed when the object is closed. " error when trying to execute my ASP code. Could it be related to the stored procedure I"m calling? Code follows:


Dim...
Forum: Classic ASP Basics May 30th, 2010, 08:17 AM
Replies: 4
Views: 4,863
Posted By dalezjc
Thanks! I'll give it a try. Dale

Thanks! I'll give it a try. Dale
Forum: Classic ASP Basics May 28th, 2010, 07:29 PM
Replies: 4
Views: 4,863
Posted By dalezjc
Pardon my ignorance, oh mighty one. If you look...

Pardon my ignorance, oh mighty one. If you look at the fourth line down in the example, there it is. Like I said, this creates a collapsing menu and I'd like to populate the contents with the...
Forum: Classic ASP Basics May 28th, 2010, 09:21 AM
Replies: 4
Views: 4,863
Posted By dalezjc
CSS and ASP Classic Together?

So I've created a CSS-based menu that looks like this:

<div class="mymenu">
<div class="header"><a href="index.html">First</a></div>
<div class="submenu">
index.asp
<br />
</div>...
Forum: Classic ASP Basics January 16th, 2009, 10:38 AM
Replies: 11
Views: 8,405
Posted By dalezjc
No, I just overlooked that piece of code. But...

No, I just overlooked that piece of code. But that was the problem.

Thanks so much for all your help. I do appreciate it!

Dale
Showing results 1 to 25 of 60

 


All times are GMT -4. The time now is 06:22 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.