RE: Pivot table confusion

2007-09-18 Thread Chris Terrebonne
Richard, A simple way to do this is to use a Tally table. A Tally table contains one column, ID, that contains numbers from 1 to [x]. You can then do joins against this table to do what you are looking for. Here's an example: SELECT t.ID, a.Taken,

RE: Table Data

2007-05-04 Thread Chris Terrebonne
This can be accomplished by using a Tally table. A tally table is simply a table that contains one column, ID, that increments up to several thousand (or several million, depending on your application). For this application, you would use it like this: Tally -- ID int MyData

Withholding Calculator

2006-02-06 Thread Chris Terrebonne
I'm hoping someone here can point me in the right direction. I am looking for a W4 withholdings calculator that is CF compatible (COM, Java, SOAP, whatever). Is there anything out there like that? Thanks, Chris ~|

Dynamic cfc function call

2005-08-23 Thread Chris Terrebonne
I am attempting to dynamically call a cfc's functions without resorting to evaluate, but something isn't working correctly. I have read in the archive that you can assign a function to a var, then call the var as a method but this doesn't appear to be working with setters in a cfc. Take the

Re: Dynamic cfc function call

2005-08-23 Thread Chris Terrebonne
at CFINVOKE. You still invoke the method on the CFC instance, but you can pass in a dynamically computed method name. Would that meet your need? cheers, barneyb On 8/23/05, Chris Terrebonne [EMAIL PROTECTED] wrote: I am attempting to dynamically call a cfc's functions without resorting

Re: Query Problem - Brain Cloud

2005-07-29 Thread Chris Terrebonne
This looks like a good use of a Tally table. A Tally table is a table that contains just an ID field with records from 1 to 10,000 (you can use any upper bound you need). You can then join this table to generate queries based on ranges. To test, I created the following table: ID int

Re: find_string in db

2005-07-06 Thread Chris Terrebonne
Ahh, you're using Oracle. Yea, it's going to choke on that one. You could always try porting it. :) [EMAIL PROTECTED] 07/06/05 12:37AM That's unlikely to work in Oracle ;-) On 7/6/05, Chris Terrebonne [EMAIL PROTECTED] wrote: Daniel, Included below is a stored procedure that you can use

Re: find_string in db

2005-07-05 Thread Chris Terrebonne
Daniel, Included below is a stored procedure that you can use to search any or all columns in all tables. Once you have installed the SP, call it as follows: exec spDBSearch @value='MySearchString' You can also specify a specific column, table or datatype. Let me know if you have any

RE: Java jar/class locations without restart

2005-06-14 Thread Chris Terrebonne
probably do a custom classloader to get around this, but I've never used one. Mark -Original Message- From: Chris Terrebonne [mailto:[EMAIL PROTECTED] Sent: Monday, June 13, 2005 8:29 AM To: CF-Talk Subject: Java jar/class locations without restart I am reposting this question

Java jar/class locations without restart

2005-06-13 Thread Chris Terrebonne
I am reposting this question. I should have known better than to post on a Friday. ;) I am trying to determine where I can store Java jar files that will allow CF to find them WITHOUT reloading the server. Is this possible? Placing the jars in the WEB-INF/lib directory doesn't work without a

Java class/jar locations

2005-06-10 Thread Chris Terrebonne
I have read through all of the documentation as well as Christian Cantrell's blog regarding where to put Java classes and jars so that CF can find them. But no matter where I try and put this problematic set of jars, CF just won't see them. Is there a location that I can place the jars that

Re: Java class/jar locations

2005-06-10 Thread Chris Terrebonne
, Chris Terrebonne [EMAIL PROTECTED] wrote: I have read through all of the documentation as well as Christian Cantrell's blog regarding where to put Java classes and jars so that CF can find them. But no matter where I try and put this problematic set of jars, CF just won't see them

Re: CF and Java Interfaces

2005-06-09 Thread Chris Terrebonne
already a java object that impliments this interface? Look around to see if there's anything that impliments your target class. Otherwise, you could make one in java and createObject() it in CF. -nathan strutz Chris Terrebonne wrote: I am trying to use CF to access a Java class method. One

Re: CF and Java Interfaces

2005-06-09 Thread Chris Terrebonne
in the same application. And it itegrates easily with myriad version control systems too. Very nice package. cheers, barneyb On 6/9/05, Chris Terrebonne [EMAIL PROTECTED] wrote: Thanks Nathan and Barney for clearing this up for me. I guess this was as perfect excuse as any to finally learn

SFTP?

2005-06-08 Thread Chris Terrebonne
Can CF do secure FTP (SFTP)? If not, is there a Java class that can be used in CF that will? Any advise? Thanks, Chris This email and its attachments may contain confidential information which is intended only for the use of the person(s) named above. If you are not the intended recipient,

FTPS? (was RE: SFTP?)

2005-06-08 Thread Chris Terrebonne
Actually, I had my acronym backwards (which apparently makes a HUGE difference :). I am really looking for FTPS ability (FTP over SSL). Sorry for the confusion. Any idea where I can find a CF resource for that protocol? Thanks again, Chris [EMAIL PROTECTED] 06/08/05 08:58AM Can CF do

RE: FTPS? (was RE: SFTP?)

2005-06-08 Thread Chris Terrebonne
Thanks for the help everyone. I'll start digging through those libs and see what I can use. Thanks again, Chris [EMAIL PROTECTED] 06/08/05 10:06AM Actually, I had my acronym backwards (which apparently makes a HUGE difference :). I am really looking for FTPS ability (FTP over SSL).

CF and Java Interfaces

2005-06-08 Thread Chris Terrebonne
I am trying to use CF to access a Java class method. One of the required arguments is an object extended from an interface. Using createObject() to instantiate the object, then passing it to the method as an argument causes an error because the interface is abstract and must be extended.

ACH file format

2005-05-24 Thread Chris Terrebonne
Any chance one of you have experience with using CF to format a standardized ACH file? Any CFC's or custom tags that will do this? I was going to write one, but no need to reinvent if it already exists. Thanks! Chris This email and its attachments may contain confidential information which

Permission Models

2005-05-12 Thread Chris Terrebonne
Morning everyone. I have developed a permission model for an application but, before I start coding around it, I wanted to see how everyone else handles this problem. In this application, a Party is any entity that can act as an individual (Person,Group, Organization,Department, etc). An

RE: Database Normalization Question

2005-04-15 Thread Chris Terrebonne
In a relationship model like this, you can track history by assigning a time span for the relationship. For example, you would modify your Employee_Positions table to contain from and to date fields: Employee_Positions Employee_ID Position_ID fromDate toDate You could then find

Dynamic cfoutput groups

2005-04-14 Thread Chris Terrebonne
Morning everyone. I currently have a reporting app that allows output to be grouped dynamically based on user preference. The user can select an unlimited number of values to group on and the groups are nested accordingly. I wasn't able to figure out a way to performing the grouping using

RE: Dynamic cfoutput groups

2005-04-14 Thread Chris Terrebonne
you're after a kind of pivot table functionality... Do you have OLAP capabilities at your disposal? (MS Reporting Services is installed w/ SQL Server if that applies...) -Original Message- From: Chris Terrebonne [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 6:21 AM To: CF-Talk

RE: Dynamic cfoutput groups

2005-04-14 Thread Chris Terrebonne
on how to solve the performance problems at the root... -Original Message- From: Chris Terrebonne [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 8:35 AM To: CF-Talk Subject: RE: Dynamic cfoutput groups Thanks for the response. For the application requirements, this should remain

Re: Database Model Suggestions - Elections

2005-03-29 Thread Chris Terrebonne
Off the cuff, I would do something like this: Candidate --- id (int) name (varchar) parent_ID (int) dependsOnParent (bit) parent_ID would signify which Prez the VP is affiliated with. dependsOnParent would signify if the child (VP) can run alone or not. The query would

Re: Database Model Suggestions - Elections

2005-03-29 Thread Chris Terrebonne
Here are a few general db standards: http://livedocs.macromedia.com/wtg/public/coding_standards/database.html [EMAIL PROTECTED] 03/29/05 01:37PM Why is everyone naming their tables singularly? :) Will ~| Logware

Message Board

2005-03-22 Thread Chris Terrebonne
Does anyone know where I can download Simple Message Board? The url on the exchange no longer offers the download. If not, can anyone suggest a good message board app? Thanks, Chris This email and its attachments may contain confidential information which is intended only for the use of

RE: Spam:Message Board

2005-03-22 Thread Chris Terrebonne
Perfect! thanks [EMAIL PROTECTED] 03/22/05 12:14PM http://www.adersoftware.com/index.cfm?page=cfbb From: Chris Terrebonne [mailto:[EMAIL PROTECTED] Sent: Tue 3/22/2005 1:06 PM To: CF-Talk Subject: Spam:Message Board Does anyone know where I can download

RE: SQL Case Question?

2005-03-07 Thread Chris Terrebonne
The problem is that there are no values for those dates so there are no rows being returned. In this case isNull won't work. An easy way to do this is if you query against a table containing the dates then join the orders table. If you are using SQLServer, you can do the following: DECLARE

Re: Correct Way To Query For Birthdays

2005-02-01 Thread Chris Terrebonne
SELECT * FROM myTable WHERE DAY(DOB) = DAY(GetDate()) AND MONTH(DOB) = MONTH(GetDate()) HTH, Chris [EMAIL PROTECTED] 02/01/05 08:19AM My field name is DOB, and I want to query the list for dates that match today. Of course, the year will never match. I have tried a

Scheduling/Appointment application

2004-12-23 Thread Chris Terrebonne
Happy Holidays everyone! A few months ago there was a pretty in depth discussion regarding the database model and programming techniques of a scheduling/appointment application, but I can't seem to find it in the archives anywhere. If anyone could point me to this discussion or to any

SOT: ASP book for CF programmer?

2004-08-11 Thread Chris Terrebonne
Hello, I hope this isn't too off topic, but I figured this would be the best place to get good info. I am currently a long time CF and C++ programmer and I want to try my hand at ASP.NET (VB C#).Any other CF'ers made the ASP transition?If so, were there any books that you found that were good

Re: ASP book for CF programmer?

2004-08-11 Thread Chris Terrebonne
# and it was great. (they aren't cheap though) Brian - Original Message - From: Chris Terrebonne To: CF-Talk Sent: Wednesday, August 11, 2004 2:35 PM Subject: SOT: ASP book for CF programmer? Hello, I hope this isn't too off topic, but I figured this would be the best

Re: ASP book for CF programmer?

2004-08-11 Thread Chris Terrebonne
Thanks Adam.I appreciate the info.I have looked into your crash course and it looks great.Unfortunatly I wouldn't have company support so that puts the crash course a little out of my range.I think I'll have to stick to the book route. I have noticed the drastic range of book available.They are

Softball/Baseball db app? (Maybe OT)

2004-04-20 Thread Chris Terrebonne
Morning Everyone, I was thinking of putting together a db app that tracks the team information and game schedule/results for my daughter's softball team.Before I started hacking this out, I wanted to see if there was anything pre-rolled for this purpose.Anyone done this before? Thanks in

Re: Softball/Baseball db app? (Maybe OT)

2004-04-20 Thread Chris Terrebonne
team. -Nate -Original Message- From: Chris Terrebonne [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 10:29 AM To: CF-Talk Subject: Softball/Baseball db app? (Maybe OT) Morning Everyone, I was thinking of putting together a db app that tracks the team information and game

RE: Encrypting Numeric ID's

2002-04-19 Thread Chris Terrebonne
Use this instead. It's fast and free. http://dev.myownemail.com/coldfusion/CFX_HexEncode.htm Chris -- Original Message From: Jason Dowdell[EMAIL PROTECTED] Subject: RE: Encrypting Numeric ID's Date: Thu, 18 Apr 2002 18:38:53 -0400 I tried all of

RE: Stored Procedure problem (was Stored Process)

2002-04-16 Thread Chris Terrebonne
Try this: CREATE TABLE #x (ID int) INSERT INTO #x (ID) VALUES(1607) INSERT INTO #x (ID) VALUES(1627) INSERT INTO #x (ID) VALUES(1647) INSERT INTO #x (ID) VALUES(1667) SELECT my_id FROM my_table WHERE my_table.my_id IN (SELECT ID FROM #x) ORDER BY my_table.my_id DROP TABLE #x You can use many

Re: SP pulling my hair out!!!

2002-04-16 Thread Chris Terrebonne
Not sure if this has been addressed yet but you should be able to send the date as a CHAR and have SQL determine if its a date: cfprocparam type=In cfsqltype=CF_SQL_CHAR variable=DateValue value=#DateFormat(Now(), mm/dd/)# @DateValue varchar(10) As long as the date is formated properly,

Re: SP pulling my hair out!!!

2002-04-16 Thread Chris Terrebonne
Apr 2002 15:40:51 -0400 It was not addressed and you are the man! How in the world was I supposed to know it has to be CHAR?! That seems so backwards. I guess the CF_SQL_DATE is for another DB server?! Thanks, Neil - Original Message - From: Chris Terrebonne [EMAIL PROTECTED] To: CF

RE: SQL Statement dumping data

2002-03-08 Thread Chris Terrebonne
TRUNCATE TABLE MyTable Chris -- Original Message From: Jason Larson[EMAIL PROTECTED] Subject: RE: SQL Statement dumping data Date: Fri, 8 Mar 2002 09:30:54 -0700 What I am trying to accomplish is: I have a client that will be pushing up a csv file to

Re: Authnet Changes

2002-02-15 Thread Chris Terrebonne
Only the TransactionID is required on credits. The address information is only required for original auths if you have the AVS settings enabled. All they did as far as the AVS changes was enabled certain fields by default. Just login and uncheck them. Chris

Re:Paymentech integration

2002-01-22 Thread Chris Terrebonne
We've done some pretty extensive integration with Paymentech. Our first move was to Authorize.net, but as of late thier stability is a huge issue. The gateway goes down several times a day and forget about getting anyone on the phone never happen. We are in the process of switching to

RE: Storing Credit Cards

2001-10-04 Thread Chris Terrebonne
Here is a free CFX tag that used 3DES encryption and hex encodes the results for URL safe transfer. Very fast and very secure. http://dev.myownemail.com/coldfusion/CFX_HexEncode.htm Chris -- Original Message From: Dave Watts[EMAIL PROTECTED] Subject:

RE: Storing Credit Cards

2001-10-04 Thread Chris Terrebonne
Here is a free CFX tag that used 3DES encryption and hex encodes the results for URL safe transfer. Very fast and very secure. http://dev.myownemail.com/coldfusion/CFX_HexEncode.htm Chris -- Original Message From: Dave Watts[EMAIL PROTECTED] Subject:

RE: Storing Credit Cards

2001-10-04 Thread Chris Terrebonne
Here is a free CFX tag that used 3DES encryption and hex encodes the results for URL safe transfer. Very fast and very secure. http://dev.myownemail.com/coldfusion/CFX_HexEncode.htm Chris -- Original Message From: Dave Watts[EMAIL PROTECTED] Subject:

Re: Database Design Challenge!

2001-05-17 Thread Chris Terrebonne
Here is a sp I used for a forum application. It doesn't require nested loops and is VERY fast. You will have to adjust it for your needs, but it should be pretty easy. --CREATE PROCEDURE expand (@current int) as DECLARE @current int DECLARE @level int, @line char(20) DECLARE @Pos int DECLARE

Re:Find position in a list

2001-03-23 Thread Chris Terrebonne
James, I am attaching a CFX tag I wrote that will do what you need. It's called ListGetChunk and it allows you to extract a portion of a list. You could use it like this: cfset MyList = "23,24,27,30,543,675,980" cfset Start = ListFind(MyList, 543) - 1 cfset Max = 3 cfx_ListGetChunk

Re:CFFILE Delete then WRITE issue....

2001-01-09 Thread Chris Terrebonne
You are encountering file locking errors. The write is trying to begin before the delete has released it's lock on the file. When writing and deleting, I always rename the file first, then delete the renamed file. Same for the write. Write to a temp file, then once the write is complete,

Re: Email Type Detection

2000-12-29 Thread Chris Terrebonne
You will need to find a program (script, cfx, com) that will allow you to send messages as multipart/alternative. That way you can set a text/plain part and a text/html part. This will allow you to send a message using both text and html and the mail client will determine which it is capable of

Re:HTMl:Border Around Tables

2000-12-15 Thread Chris Terrebonne
table border="0" cellpadding="1" cellspacing="0" tr td bgcolor="Navy" table border="0" cellpadding="3" cellspacing="0" tr td bgcolor="White"Some Content/td /tr /table /td /tr /table -- Original Message From: ""[EMAIL PROTECTED]

Re: cfstored procedure problem

2000-12-06 Thread Chris Terrebonne
Kill the single quotes. No need to put them around an SQL var. Chris -- Original Message From: "sebastian palmigiani"[EMAIL PROTECTED] Subject: Re: cfstored procedure problem Date: Tue, 05 Dec 2000 22:29:16 -0600 on 12/5/00 3:46 PM, S R at [EMAIL

Re:SQL 7.0 Question

2000-11-30 Thread Chris Terrebonne
Yes, * is the syntax for ALL in SQL7, but you don't need to specify that for a DELETE. When you issue a delete, you delete the entire record, so there is no need to specify columns. Try: DELETE from auction_records where auction_id='#id#' and userid='#userid#' Chris

Re:SQL 7 database transfer from one server to another

2000-11-30 Thread Chris Terrebonne
Look up the syntax for sp_dettach and sp_attach. With that you can move the db by hand with no leftovers. Chris -- Original Message From: "ryo watanabe"[EMAIL PROTECTED] Subject: SQL 7 database transfer from one server to another Date: Thu, 30 Nov 2000

RE: Query as a structure

2000-11-29 Thread Chris Terrebonne
Actually a query is an array of structures. Chris -- Original Message From: "Eric Bradburn"[EMAIL PROTECTED] Subject: RE: Query as a structure Date: Wed, 29 Nov 2000 11:49:38 -0500 This message is in MIME format. Since your mail reader does not

Re:MS SQL Shortcut?

2000-11-22 Thread Chris Terrebonne
I havn't tested this, but you should be able to do either of the following: SELECT (Sum(paymentamt) + 0) AS total or SELECT CAST(Sum(paymentamt) AS int) AS total Chris -- Original Message From: "Jim McAtee"[EMAIL PROTECTED] Subject: MS SQL Shortcut?

Re:convert kilobytes to megabytes?

2000-11-01 Thread Chris Terrebonne
cfset RealSize = 900 cfset kSize = Round(Size / 1024) cfset mSize = Round(kSize / 1024) -- Original Message From: "Emmet McGovern"[EMAIL PROTECTED] Subject: convert kilobytes to megabytes? Date: Wed, 1 Nov 2000 17:54:56 -0500 Is there an easy way

Re: ADO vs. ODBC

2000-10-12 Thread Chris Terrebonne
For other db servers, this may not be the case, but for SQL Server, ODBC is the fastest method for accessing your data. Here are some reasons, directly from MS, for using ODBC: -- While many database vendors support ODBC by using a mapping layer on top of their proprietary interface, this is

RE: You are a stored Proc god if you can answer this...

2000-10-10 Thread Chris Terrebonne
PROTECTED] www.vividmedia.com 608.270.9770 -Original Message----- From: Chris Terrebonne [mailto:[EMAIL PROTECTED]] Sent: Monday, October 09, 2000 4:23 PM To: CF-Talk Subject: RE: You are a stored Proc god if you can answer this... Try: Search_RC1('WHERE State=''NC''') Those are 2 single quo

Re: SQL Question

2000-10-10 Thread Chris Terrebonne
This will do it: SELECT FirstName, LastName FROM RealtorInfo WHERE RealtorID IN (SELECT RealtorID FROM Homes WHERE HomeID IN(#homelist#)) Chris -- Original Message From: ""[EMAIL PROTECTED] (paul smith) Subject: Re: SQL Question Date: Tue, 10 Oct

Re:You are a stored Proc god if you can answer this...

2000-10-09 Thread Chris Terrebonne
Try this: CREATE PROCEDURE [Search_RC] @where varchar(255) AS DECLARE @Select varchar(255) SET @Select = 'SELECT count (*) as noofrecords FROM NPO_IRS_primary ' + @where CREATE TABLE #x (MyCount int) INSERT INTO #x EXECUTE(@Select) SELECT MyCount FROM #x DROP TABLE #x

RE: You are a stored Proc god if you can answer this...

2000-10-09 Thread Chris Terrebonne
='NC''. Line 1: Incorrect syntax near 'WHERE State="NC"'. Is to possible to pass quotes to a stored proc and build a query in this fashion. Am I missing something? Thanks Mark W. Breneman -Cold Fusion Developer -Network Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia

Re: Moving SQL to new server

2000-10-05 Thread Chris Terrebonne
Look up the "sp_attach" and "sp_detach" procedures. You will need to install SQL on the new server, then sp_detach the databases that you wish to transfer. Copy the mbf and ldf files to the new server, then use sp_attach to "add" the db's to the new installation. Chris

RE: HTML Email Tracking

2000-10-05 Thread Chris Terrebonne
In the CFM file, you can do either of these: Use this if the image doesn't reside on your server. CFHEADER NAME="Content-type" Value"image/gif" CFHEADER NAME="Location" Value="#IMAGE#" or, use this if the image is on your server cfcontent type="image/gif" file="c:\images\Blank.gif"

Re:OT: SQL Server

2000-10-05 Thread Chris Terrebonne
text -- Original Message From: "Andy Peterson"[EMAIL PROTECTED] Subject: OT: SQL Server Date: Thu, 5 Oct 2000 13:15:41 -0500 Hi, Can anyone tell me what the equivalent of a MS Access "memo" field is in SQL Server 7.0? TIA, Andy

Re: cf error question...

2000-09-06 Thread Chris Terrebonne
onMasters, Inc. 9111 Monroe Rd., Suite 100 Charlotte, NC 28270 www.solutionmasters.com 704.563.5559 x 228 Voice 704.849.9291 Fax -Original Message- From: Chris Terrebonne [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tuesday, September 05, 2000 6:15 PM Subjec

Re: SQL ORDER BY Problem

2000-09-05 Thread Chris Terrebonne
SELECT Date, #DateDiff(date, now())# AS "DateSpan" FROM Dates ORDER BY DateSpan chris -- Original Message From: "David Shadovitz"[EMAIL PROTECTED] Subject: Re: SQL ORDER BY Problem Date: Tue, 5 Sep 2000 06:18:33 -0700 Wouldn't your results be the

RE: SQL ORDER BY Problem

2000-09-05 Thread Chris Terrebonne
ill not be evaluated for each row of the query. Build your query with CF. Use SQL statements and functions for manipulating each row of the query. Dan -Original Message- From: Chris Terrebonne [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 05, 2000 9:45 AM To: [EMAIL PROTECTED] Su

Re:OT SQL 7 FULL-TEXT more than one column?

2000-09-05 Thread Chris Terrebonne
Here are two sql statements that I use for a forums app. Both use multiple columns: SELECT TOP 300 ID,Name,Catagory,Description,TotalThreads,TotalTopics,IsPrivate,WebName,KeyW ords,KEY_TBL.RANK FROM Forums AS FT_TBL, FREETEXTTABLE(Forums, *,'#SearchString#') AS KEY_TBL WHERE FT_TBL.ID =

cf error question...

2000-09-05 Thread Chris Terrebonne
This has probably been covered already but... Is there any way to replace or customize CF's internal error messages ("canceled or ignored by server...", etc)? Thanks, Chris _ Free email with personality! Over 200 domains! http://www.MyOwnEmail.com

RE: Does Cold Fusion Chug?

2000-08-17 Thread Chris Terrebonne
Cold Fusion DOES have scalability issues. Sure, if you throw enough servers at it, it will scale...but the same can be said for virtual any language. Don't get me wrong, CF is a very robust language, but the fact is there are issues. imho, Chris --

RE: oledb and native drivers

2000-08-03 Thread Chris Terrebonne
I have done side by side comparisons with ODBC and OLEDB using SQL 7. Contrary to common belief, the OLEDB actually ran anywhere from 5-20 ms slower than with ODBC. I just completed work on a new version of our ad serving software and I obviously wanted the fastest option available. I was very

RE: oledb and native drivers

2000-08-03 Thread Chris Terrebonne
to worst :) G Lies, Damn Lies, Statistics, Benchmarks Jeremy Allen [EMAIL PROTECTED] [Insert cool title here] -Original Message- From: Chris Terrebonne [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 03, 2000 10:55 AM To: [EMAIL PROTECTED] Subject: RE: oledb and native drivers I ha

Re:Random Numbers and Banner Managers

2000-07-24 Thread Chris Terrebonne
You can add a random number to your query then order by that. Try this: cfquery datasource="#Attributes.DataSource#" name="q_banners" SELECT BannerAdID, #RandRange(1,9)# AS "Rand" FROMBannerAds WHERE Active = 1 ORDER BY RAND

Re:COOKIES: CFX_HTTP: sending with header

2000-07-21 Thread Chris Terrebonne
Cookie: Name=Value;Name=Value;Name=Value Make sure the cookie header is on it's own line. Chris -- Original Message From: "!jeff!"[EMAIL PROTECTED] Subject: COOKIES: CFX_HTTP: sending with header Date: Thu, 20 Jul 2000 18:24:52 -0700 After becoming

Re:OT: Kind of bcc-question and question of secure mail ?

2000-07-11 Thread Chris Terrebonne
Are you in control of the mail client (ie. is this a web-based mail client)? If so, you can easily send one message to the intended address and send a copy of the message to your client's address and encrypt the body of the copied message. Then set up a simple page that the client can use to cut

RE: Spaces

2000-07-07 Thread Chris Terrebonne
Replace(CompanyName, " ", "", "ALL") Specify the space, then the null (""), then ALL. Chris -- Original Message From: "Larry Juncker"[EMAIL PROTECTED] Subject: RE: Spaces Date: Fri, 7 Jul 2000 07:41:01 -0500 Kevin; I believe that you have to type

Re:Know where I can find Chr(*) definitions?

2000-07-07 Thread Chris Terrebonne
Try here: http://www.gyldan.com/~cuspy/cuspy/escape.htm Chris -- Original Message From: "Ric Smith"[EMAIL PROTECTED] Subject: Know where I can find Chr(*) definitions? Date: Fri, 7 Jul 2000 11:13:31 -0400 Anyone know of anywhere I can find the

Re:Checking for a record, and then deleting it

2000-06-23 Thread Chris Terrebonne
Just test for the RecordCount... CFQUERY datasource="bwpc" name="TestForExistingQuote" Select * FROM SystemQuote WHERE (CFID=#CFID# AND CFTOKEN=#CFTOKEN#) /cfquery CFIF TestForExistingQuote.RecordCount CFQUERY datasource="bwpc" DELETE FROM SystemQuote WHERE CFID = #CFID#

Re:[Another Way...]Checking for a record, and then deleting it

2000-06-23 Thread Chris Terrebonne
--- Original Message From: "Chris Terrebonne"[EMAIL PROTECTED] Subject: Re:Checking for a record, and then deleting it Date: Fri, 23 Jun 2000 08:43:08 -0500 Just test for the RecordCount... CFQUERY datasource="bwpc" name="TestForExistingQuote" Select * FROM S

RE: [Another Way...]Checking for a record, and then deleting it

2000-06-23 Thread Chris Terrebonne
ation on how to make this king of SQL working ? -Original Message- From: Chris Terrebonne [mailto:[EMAIL PROTECTED]] Sent: Friday, June 23, 2000 9:48 AM To: [EMAIL PROTECTED] Subject: Re:[Another Way...]Checking for a record, and then deleting it Or you could do it all via SQL: CFQUERY da

RE: [Another Way...]Checking for a record, and then deleting it

2000-06-23 Thread Chris Terrebonne
ot working ! The Oracle Database returns "Invalid SQL statement". Where did you see that king of statement ? Can you give me more information on how to make this king of SQL working ? -Original Message- From: Chris Terrebonne [mailto:[EMAIL PROTECTED]] Sent: Friday, June 23, 200

CFX API Question...

2000-06-17 Thread Chris Terrebonne
How does the CFX API handle simutaneous requests? Does CF spawn a new instance of the attached CFX DLL for each simultaneous request, or does it assume that the CFX DLL can handle simultaneous requests itself and direct requests to the existing instance? If it is the later, then is there a way

RE: banner ad weighting....

2000-04-14 Thread Chris Terrebonne
for 30 days, that is exactly what they get. Chris Terrebonne -- Original Message From: "Al Musella, DPM"[EMAIL PROTECTED] Subject: RE: banner ad weighting Date: Thu, 13 Apr 2000 15:40:27 -0400 There may be a much simpler way: For each ad,

RE: banner ad weighting....

2000-04-14 Thread Chris Terrebonne
calculates all campaigns based on the new average. This ensures that if a buyer purchases 100,000 impressions for 30 days, that is exactly what they get. Chris Terrebonne -- Original Message From: "Al Musella, DPM"[EMAIL PROTECTED] Subject: RE: b

RE: banner ad weighting....

2000-04-13 Thread Chris Terrebonne
set Rand = RandRange(1,100) cfset End = 0 cfloop query="GetAd" cfset Start = End cfset End = Start + GetAd.Weight cfif (Rand GTE Start) AND (Rand LTE End) !--- We have a winner --- /cfif /cfloop And that's it. Hope