RE: XPath in CFMX

2003-03-12 Thread Dan G. Switzer, II
his particular Xpath call. But, those > points aside, it's still mucho annoying that this doesn't work. > > -Original Message- > From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 2:45 PM > To: CF-Talk > Subject: RE: XPath in CFMX

RE: XPath in CFMX

2003-03-12 Thread Dan G. Switzer, II
g your own "xpath()" function to use to replace the xmlSearch() function. You could then either choose to use a Java-based parser, or just reformat strings to make them CFMX "friendly." -Dan > -----Original Message- > From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] &g

RE: XPath in CFMX

2003-03-12 Thread Dan G. Switzer, II
Seems like it is a bug. In following example, the first XPath statement works as expected, the second finds 2 matches, but returns empty arrays. text here text here text here I also know that the XPath expression "r

RE: Writing Query Results to a CSV using CFFILE

2003-03-12 Thread Dan G. Switzer, II
Joshua, Here's an article I wrote which details executing a DTS script from within ColdFusion: http://www.pengoworks.com/index.cfm?action=articles:spExecuteDTS You'll have to create a couple of stored procs, but it's just a cut-n-paste deal. -Dan > -Original Message- > From: Joshua Mil

RE: Auto-populating form item

2003-03-12 Thread Dan G. Switzer, II
Check out qForms. It'll greatly simplify the syntax of dealing w/JS forms, as well as it'll cut your work down tremendously. http://www.pengoworks.com/qforms/ There's a number of examples online that will give you an idea of where to get start. Essentially all you need to do this is to set an ev

RE: Sorting XML without XSLT (Running it brain meltdown)

2003-03-11 Thread Dan G. Switzer, II
Michael, Remember, XSLT doesn't just mean XML to XHTML--you could use XSLT to retransform the XML packet into a sorted XML packet and then run your CF logic on the new sorted packet. I believe I've seen a solution posted here: http://www.dpawson.co.uk/xsl/sect2/sect21.html If not, you s

RE: Javascript object reference problem

2003-03-01 Thread Dan G. Switzer, II
Shawn, > Sample Code - Class definition: > > function MyObjectAddObject(oObject) { > var oNewObj = new SubObject(); Where is SubObject() declared? Is it in both the pop-up window and the main window? > //methods > this.AddObject = MyObjectAddObjec

RE: CF executing a DTS package for a MS SQL server

2003-02-18 Thread Dan G. Switzer, II
I just through together an article which shows how you can invoke a DTS package via SQL using a couple of stored procedures: http://www.pengoworks.com/index.cfm?action=articles:spExecuteDTS -Dan > -Original Message- > From: jon hall [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 14,

RE: js validation

2002-09-18 Thread Dan G. Switzer, II
Tim, Check out qForms: http://www.pengoworks.com/qforms/ While it doesn't have the exact type of validation you're looking for, it'll be very easy to write on. Once written, it'll be completely re-usable from page to page. There are detailed examples of the API at: http://www.pengoworks.com/qF

RE: code optimization (was RE: Jsp Vs Cfm (CFMX) -- Test Code)

2002-09-18 Thread Dan G. Switzer, II
But Matt's point is extremely valid and I think a technique way to many developers overlook too consider with "keeping the code dynamic." Caching can mean many things, on a heavily trafficked site, cache portions of content for seconds can increase performance of the box tenfold, without losing th

RE: Validating form fields with a structure and loop

2002-09-12 Thread Dan G. Switzer, II
Andrew, Check out qForms: http://www.pengoworks.com/qforms/ Using the API will simply what you're trying to do greatly. One of the things that you'll be able to do is pass a JS-based structure (which you can get by using ) to the setFields() method, which will allow you to populate existing valu

RE: form question

2002-09-12 Thread Dan G. Switzer, II
Isaac, Just so you know, I've been working on v2 and although everything should be backwards compatible, there's going to be a lot more event handling. One of the things in v2, is you can choose to overwrite the default behavior of displaying errors. My goal is to allow you to easily hook in to

RE: form question

2002-09-12 Thread Dan G. Switzer, II
As the author of the API, one thing I tried to do was *simplify* JS development for the developer. If you're not that familiar w/JavaScript, it still should be something you can get up and running w/in a few minutes by going through the examples. I think you'll also find you'll be able to build m

RE: HTML Form values into struct variables

2002-09-09 Thread Dan G. Switzer, II
nationform.cfm *** > inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server > >>> Find out how iMS Stacks up to the competition: > http://www.coolfusion.com/imssecomparison.cfm > > - Original Message - > From: "Dan G. Switzer, II"

RE: HTML Form values into struct variables

2002-09-09 Thread Dan G. Switzer, II
Robert, Check out qForms: http://www.pengoworks.com/qforms/ There's a couple of features it has which look like they may help you. For one, there's a method which will return the results of all the form objects on your page as one structure, the other is the ability to set the value of your form

RE: CFMX & CurrentRow?

2002-08-27 Thread Dan G. Switzer, II
> > None of your examples used the syntax: > > > #currentrow# > > > That one does work, which is I believe what Sean and Watts were saying. > CFLOOP is a completely different animal. > > > - Original Message - > From: "Dan G. Switzer, II" <[

RE: Javascript calling ColdFusion - will this work?

2002-08-22 Thread Dan G. Switzer, II
Thane, If all you care about is updating a hit counter and not displaying any code, use the following code: function Get_Referrer(){ var oCounter = new Image(); var sImg = "http://www.stuffbythane.com/SiteTracker/test2.cfm?in=";; sImg += escape(document.referrer); sImg += "&out=" + escap

RE: CFMX & CurrentRow?

2002-08-22 Thread Dan G. Switzer, II
Out of curiosity, which syntax are you using: #currentRow# or #queryName.currentRow# I know that "#queryName.currentRow#" works. -Dan > -Original Message- > From: Sean A Corfield [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 21, 2002 5:56 PM > To: CF-Talk > Subject: Re: CFMX

RE: CFFORM/CFINPUT

2002-08-13 Thread Dan G. Switzer, II
My person feeling is there's a lot lacking from CFFORM's js. Although you can customize the code, it's still fairly inflexible. Check out qForms: http://www.pengoworks.com/qforms/ I started writing the API a few years ago to overcome some of the issues I had w/CFFORM's JS implementation. It's a

RE: (OT) DHTML Menu Problems

2002-08-13 Thread Dan G. Switzer, II
What browser are you using? My guess is you're using one based on the newer Mozilla code which is going to perform strict validation on the HTML document. Since you're specifying that the document is XHTML my guess is the DHTML menu isn't spitting out valid XHTML (most don't must of the API I've s

RE: CFMX strange syntax required to output a query [crosspost]

2002-07-25 Thread Dan G. Switzer, II
It sounds like it may just be something strange w/the OpenBase ODBC driver--especially since it's working w/other dbs. Out of curiosity, does this work? #company# #mainPhone# -Dan > -Original Message- > From: Dick Applebaum [mailto:[EMAIL PROTECTED]] > Sent: Wednes

RE: JRun.exe is kicking our server's arse...

2002-07-24 Thread Dan G. Switzer, II
Just out of curiosity, but did you ever have another version of CFMX on the machine (i.e. trial, beta, rc?) Or where these machines w/a clean install? -Dan > -Original Message- > From: Tipton Josh (orl1jdt) [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 24, 2002 1:51 PM > To: CF-Talk

RE: CFMX - Function Best Practice ?

2002-07-23 Thread Dan G. Switzer, II
You can still create a UDF using CFFUNCTION. You're always going to find a use for UDFs, cause even in C++ not *everything* makes sense to have as an object. One key feature to the CFFUNCTION is it allows you to create some UDFs you could never create before. For example, you can now create a UDF

RE: Clarification needed -- WebServices (Part II)

2002-07-02 Thread Dan G. Switzer, II
Todd, Like I stated, it really depends. Obviously, if you don't have to do it, it's unnecessary. As it stands right now, if two CFMX applications are communicating, there shouldn't be any problem invoking a web service that returns complex data types (unless you're using createObject()--which cas

RE: Clarification needed -- WebServices (Part II)

2002-07-02 Thread Dan G. Switzer, II
Todd, It really depends. Because of varying implementation w/the SOAP protocol between vendors, there are often issues when trying to share complex data structures (queries, structures, etc) between platforms. Because of this, using an XML packet passed as a string is usually the easiest way arou

RE: JS :: Reset Specific field.

2002-06-10 Thread Dan G. Switzer, II
FYI - That's a qForms JSAPI extension *only*--this is not part of the regular browser DOM. -Dan > -Original Message- > From: Paul Ihrig [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 10, 2002 10:05 AM > To: CF-Talk > Subject: RE: JS :: Reset Specific field. > > got it > objForm.Print_T

RE: CFC questions

2002-05-31 Thread Dan G. Switzer, II
Rich, The QueryBean issue w/createObject() when invoked as a Web Service is a known bug and is scheduled to be fixed by Macromedia. You're better off invoking it as a component if the CFC is to be used locally. (Also, createObject will choke on any query object, not just those created by the Quer

RE: CF Wishlist

2002-05-01 Thread Dan G. Switzer, II
David, Depending on the context of the data, you can simulate the required behavior by replacing instances of double commas with a comma followed by a space (or any character you desire) followed by another comma. For example: Replace("3,5,,,3,2,2", ",,", ", ,", "ALL") You could also use a RegE

RE: SESSION question

2002-04-26 Thread Dan G. Switzer, II
Mark, Are you sure they had cookies enabled? By default, sessions rely on a cookie that's written to the user's browser. If cookies are disabled, you'll have to manually send the cfid and cftoken variables to the URL. This will keep the sessions intact. -Dan > -Original Message- > From:

RE: JavaScript

2002-04-01 Thread Dan G. Switzer, II
Jim, Check out the qForms API: http://www.pengoworks.com/qforms/ The API has a set of instructions for doing just what you're looking for using standard JavaScript. Check out the example pages for online samples. -Dan > -Original Message- > From: Jim McAtee [mailto:[EMAIL PROTECTED]] >

qForms v2.0 Survey...

2002-03-29 Thread Dan G. Switzer, II
s, I think you'll see just how much time it'll save you. Once again, sorry for the cross post. Sincerely, Dan G. Switzer, II __ This list and all House of Fusion resources hosted by CFHosting.com. The place

RE: Sorry to flood the List BUT.... ListContains NOT functioning properly!

2002-03-05 Thread Dan G. Switzer, II
Mark, You want to use ListFind(), not ListContains() in your example below. ListContains() is going to return a position for "site" since "site" is contained in "siteMinute", "siteNews", "site" and "siteSpin". ListFind() will only find matching values. ListContains() will return a match if the st

RE: hierarchical database.....

2002-01-18 Thread Dan G. Switzer, II
Richard, There's an excellent method for handling hierarchical trees in Joe Celko's SQL for Smarties which he refers to as the "Nested Set Model." There are some excellent tutorials on using the Nested Set Model w/CF on SecretAgents.com: http://www.secretagents.com/index.cfm?fuseaction=freeviewl

RE: Access XP and CF?

2001-11-16 Thread Dan G. Switzer, II
Actually, in Office XP they introduced another tier of security. If you're accessing a network drive that's being restricted based upon your Internet Explorer settings (which I believe by default is any network drive mapped by an IP addy,) then there are some configuration changes you'll need to m

RE: related selects

2001-11-02 Thread Dan G. Switzer, II
Becky, As the author of qForms I can tell you it integrates *extremely* well w/ColdFusion. As a matter of fact, many of the features of the API derived as a way of making it easier to develop complex applications w/server-side technologies--and most specifically, ColdFusion. I would recommend pl

RE: javascript form help

2001-08-30 Thread Dan G. Switzer, II
Rayna, Check out qForms: http://www.pengoworks.com/qForms/ It's a JavaScript framework for working w/forms. There isn't a built in validation method for this, but here's one that'll work with qForms: function _f_isCheckboxLenLT(len){ _param(arguments[0], 5, "number"); if( this.v

RE: Four Selects Related.

2001-08-23 Thread Dan G. Switzer, II
" <[EMAIL PROTECTED]> > Sent: Wednesday, August 22, 2001 8:13 PM > Subject: RE: Four Selects Related. > > > > your going to have to give a demo at cfug > > or have you done this already? > > > > -paul > > > > -Original Message- &g

RE: Four Selects Related.

2001-08-22 Thread Dan G. Switzer, II
Paul, Using qForms it's pretty easy to this. Since it's OO-orientated, doing 4 isn't much different from doing 2. I know people that have done as many as 8 related select boxes (and somebody has probably done more than that.) qForms: http://www.pengoworks.com/qForms/ -Dan > -Original Messa

RE: Alternating BG colors on a

2001-08-21 Thread Dan G. Switzer, II
Nate, No need to use the Evaluate() function--it'll just slow you down: BGCOLOR="#stColor[QueryName.CurrentRow MOD 2]#" -Dan > -Original Message- > From: Nate Smith [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 21, 2001 3:17 PM > To: CF-Talk > Subject: RE: Alternating BG colors on

RE: Java Script

2001-08-16 Thread Dan G. Switzer, II
Andrew, Check out the qForms API: http://www.pengoworks.com/qForms/ It'll make what you're trying to do very easy. As a matter of fact, if you want to know the value of the field, just do: obj.fieldName.getValue(); No need to trap the value, just call the getValue() method. You can also

RE: Client Variables NOT expiring

2001-07-11 Thread Dan G. Switzer, II
You can find all my tags at: http://www.pengoworks.com/index.cfm?action=CustomTags I've stopped using the DevExchange for uploading tags--just too many issues I haven't been able to work around. -Dan > -Original Message- > From: Ledwith, Brian [mailto:[EMAIL PROTECTED]] > Sent: Wednesda

RE: Mutiple Select

2001-06-14 Thread Dan G. Switzer, II
David, Check out qForms: http://www.pengoworks.com/qForms/ The setValue() method will allow you to pass in a comma-delimited string of values to have selected in a select box (this would be the same string that the server receives when the form is submitted.) Hope this helps! -Dan > -Origi

RE: CFForms javaScript was Complimentary skill

2001-06-11 Thread Dan G. Switzer, II
Zac, I don't have a link to the discussion you're asking about, but I've always found that CFFORM was lacking in several key areas--so I wrote a JavaScript API that I use in place of CFFORM called qForms. The API is open source and is a *lot* more powerful and flexible then the CFFORMs code, and

RE: Speeding Up SQL Server

2001-06-08 Thread Dan G. Switzer, II
Eeik! Actually, as cheap as RAM is right now, throw in another 768MBs. You can probably pick it up for <$200. It'll definitely help exponentially. (You should never run a SQL Server w/less than 768MB/1GB of RAM. Memory is just so cheap now, there's no excuse not to.) Of course, make sure you've g

RE: Looking for a Web Based ActiveX Treeview

2001-06-07 Thread Dan G. Switzer, II
You could use this OCX to develop your own ActiveX control... -Dan > -Original Message- > From: Sutton Yamanashi [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 07, 2001 2:55 PM > To: CF-Talk > Subject: Looking for a Web Based ActiveX Treeview > > > Greetings CF-ers! > > I am looki

RE: JavaScript var to Cold Fusion var

2001-06-07 Thread Dan G. Switzer, II
Larry, JS is purely client, which means to execute an CFML based upon JS you're going to have to make a roundtrip to the server. WDDX is great for serializing JavaScript data and passing it into a format CF can deal with natively. For ways to interactive w/the server without appearing to leave t

RE: COOKIE expiration :((

2001-06-04 Thread Dan G. Switzer, II
You can download my custom tag from: http://www.pengoworks.com/index.cfm?action=CustomTags The code is pretty simply and does allow you to use and do a server relocation on the same page. Using the tag, you're able to successfully relocate the user using the code: Why CF doesn't use the sa

RE: Silly Validation Question...

2001-05-30 Thread Dan G. Switzer, II
Brandon, Check out qForms: http://www.pengoworks.com/qForms/ It has all sorts of really easy to use validation methods. For example, to make sure they select a state, you could just do: obj.fieldName.validateState(); or to simply check that the value was not blank: obj.fieldName.validateNotEmp

RE: CFINPUT onvalidate problem

2001-05-24 Thread Dan G. Switzer, II
Malcolm, Take a look at qForms: http://www.pengoworks.com/ It'll replace the need to use CFFORM and is much more powerful and flexible. -Dan > -Original Message- > From: Malcolm Taylor [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 24, 2001 8:42 AM > To: CF-Talk > Subject: CFINPUT on

RE: populate 2 text boxes based on select from pull down list

2001-05-16 Thread Dan G. Switzer, II
Stephen, Check out qForms: http://www.pengoworks.com/qForms/ It's a very easy to use API w/lots of examples. -Dan > -Original Message- > From: cassady [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 16, 2001 1:18 PM > To: CF-Talk > Subject: OT: populate 2 text boxes based on select f

RE: Slightly OT: Form Validation Woes

2001-05-14 Thread Dan G. Switzer, II
Matthew, Check out qForms: http://www.pengoworks.com/qForms/ It will greatly simplify creating client-side validation. You don't need to be a JavaScript wizard, if can program in CF, you should be able to use the qForms API with no problems. It's also *much* more powerful than the built-in CFFOR

RE: ] Re: pass form.variable by URL

2001-05-02 Thread Dan G. Switzer, II
You need to pass the actual value of the field: -Dan > -Original Message- > From: FARRAH NG [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 02, 2001 1:00 PM > To: CF-Talk > Subject: [Re:] Re: pass form.variable by URL > > > hi everbody, > let me clarify my problem here, maybe my previ

RE: Cf_objectdump

2001-04-30 Thread Dan G. Switzer, II
Ryan, You can download any of my tags--including CF_ObjDump--off my web site: http://www.pengoworks.com/index.cfm?action=CustomTags -Dan > -Original Message- > From: Ryan [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 30, 2001 9:30 AM > To: CF-Talk > Subject: Re: Cf_objectdump > > >

RE: JS Input Mask for textbox

2001-04-27 Thread Dan G. Switzer, II
Michael, qForms won't do it on a key press, but it will do it onBlur--which is going to be a much more compatible method. qForms: http://www.pengoworks.com/qForms/ -Dan > -Original Message- > From: Mike Morris [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 27, 2001 1:34 PM > To: CF-T

RE: Disabling the BACK button (again)

2001-04-27 Thread Dan G. Switzer, II
qForms automatically disables a submission from occuring when a click-happy user keeps trying to submit a form: http://www.pengoworks.com/qForms/ -Dan > -Original Message- > From: Robert Rusher [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 27, 2001 11:54 AM > To: CF-Talk > Subject:

RE: Random form variables problem

2001-04-26 Thread Dan G. Switzer, II
If a checkbox is unchecked, then that form variable will not be passed via either a POST or GET action. -Dan > -Original Message- > From: Dondana Alberto [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 26, 2001 9:16 AM > To: CF-Talk > Subject: Re: Random form variables problem > > > I

RE: Client State Management? what storage method?

2001-04-20 Thread Dan G. Switzer, II
Paul, First thing, go to the CF Administrator and go to Server > Variables. If you're going to be using any datasources for client vars, here's where you'd register them. You can also change the default storage mechanism for client vars. The next step would be to use the CLIENTSTORAGE attribute

RE: Cookies and their expiration

2001-04-17 Thread Dan G. Switzer, II
Jon, The reason the cookie last so long is to effectively never expire it. Preferably, you don't want to reassign a user a new CFID/CFTOKEN pair--you want to keep those cookies on their system forever, that way you'd be able to track that particular user over the lifetime of the app. The length o

RE: Alert Box with countdown?

2001-04-16 Thread Dan G. Switzer, II
Neil, You can't update an alert box, but you could create a pop-up window (or if you're using IE exclusively, then create a Modal window.) With a pop-up or Modal window, you'd just be creating a standard HTML document. The other option, of course, would be to use DHTML to create alert-style dialo

RE: DHTML Menu :: Spanning frameset?

2001-04-05 Thread Dan G. Switzer, II
Paul, It's impossible to overlay a layer over a multiple frames. In order to have something appear over multiple frames, you'd need to use an ActiveX control or some other external control that's not bound to the browser window. The one thing you can do-but it's a big pain, is to have you're main

RE: Please Help

2001-04-04 Thread Dan G. Switzer, II
Check out qForms: http://www.pengoworks.com/qForms/ It's a lot more flexible and powerful then the CFFORM JavaScript, and it's open source and free. -Dan -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 04, 2001 10:51 AM To: CF-Talk Subject: RE: Plea

RE: daylight savings time..... CF is reporting the wrong value for now

2001-04-02 Thread Dan G. Switzer, II
Tobe, I believe this problem is due to a bug in the VisualC++. This is a known bug which you can read more about here: http://msdn.microsoft.com/visualc/headlines/2001.asp As you can see, the bug has been known about for a number of years. Not sure if Allaire has a patch out for 4.01, but 4.5x s

RE: Form Fields cleared on Back

2001-03-13 Thread Dan G. Switzer, II
Check out the qForms API: http://www.pengoworks.com/qForms/ It won't necessarily solve the blanking of the forms problem, but you can pass it a JS based structure and it will repopulate the form, which will save you a ton of CF-based coding, since all you'll need to do is save the FORM scope as a

RE: Slight OT : Javascript works in IE, but ignored in Netscape

2001-03-07 Thread Dan G. Switzer, II
Mark, Take a look at qForms: http://www.pengoworks.com/qForms/ You're going to run into some problems using your current method if your form contains any non-text fields. qForms provides a common API for setting and retrieving form fields. Plus, it's cross-browser compatible, so it'll take the g

RE: Displaying Javascript erros in NS6

2001-03-07 Thread Dan G. Switzer, II
Go to: Tasks > Tools > JavaScript Console It took me a while to find it the first time too-I got to used to being able to type "javascript:" in the address bar. :) -Dan -Original Message- From: Daniel Lancelot [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 10:12 AM To: CF-Ta

RE: wddx

2001-03-05 Thread Dan G. Switzer, II
Large packets take forever to post, but I've posted some pretty big darn packets to servers. The biggest thing to watch out for is ODBC limitations on your fields. By default SQL Server 7 only allows 64K long strings. If you need more, create a separate DSN for large block inserts and use that dat

RE: disabling form fields

2001-03-01 Thread Dan G. Switzer, II
Michael, Check out: http://www.pengoworks.com/qForms/ You can disable any type of form fields, and it provides backwards compatibility to NS3 and above. You can also set up dependencies, which allow you to basically create a rule like: "Require an e-mail address, if the custom wants to receive e

qForms JavaScript API v1.0 Released!!!

2001-02-19 Thread Dan G. Switzer, II
creation of client-side validation. All the information you need is available at: http://www.pengoworks.com/qforms/ Sincerely, Dan G. Switzer, II [EMAIL PROTECTED] PS - I'm sending this message out to both the JS-Jive and CFTalk lists, only because I commonly see questions relating

RE: RegExp to extract info between tags

2001-02-15 Thread Dan G. Switzer, II
David, Why aren't you just using WDDX to get the values out? If for some reason you can't, look in to using REFindNoCase with the "return subexpression" option set to true (this is the fourth argument in the function.) This will return a structure containing a single item array which will mark t

RE: Why doe my cfscript if statement fail?

2001-01-22 Thread Dan G. Switzer, II
Kevin, I'm actually surprised that CF doesn't throw an error with the statement. Get rid of the "is 'TRUE'" portion: if( Check_NT.RecordCount GT 0 ){ } (You can shortcut this further to just "if( Check_NT.RecordCount ){" Also, I don't notice any brackets around your IF statement, which means o

RE: Short Circuit Evaluation

2001-01-17 Thread Dan G. Switzer, II
Ruslan, Every since CF4.01, CF has supported short-circuit logic. So the you're first example *does* work in CF4.01+. -Dan -Original Message- From: Ruslan Sivak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 10:12 AM To: CF-Talk Subject: Short Circuit Evaluation I have ha

RE: Running a MS SQL Server DTS Package from ColdFusion

2001-01-17 Thread Dan G. Switzer, II
Here's two stored procedures that will allow you to run a DTS package-it's the method I use. You can call the SP from either or tags. The spExecuteDTS is the only SP you use, but the second SP is used by spExecuteDTS. -Dan /** Exa

RE: Bulk Insert?

2000-12-19 Thread Dan G. Switzer, II
I'd love to see some write an Extended SP that would in take a WDDX packet, parse the string and convert it to usable data. I'd also love to do the reverse (convert a recordset to WDDX in an Extended SP and just pass back the WDDX packet.) -Dan -Original Message- From: [EMAIL PROTECTED]

RE: looping over structures

2000-12-19 Thread Dan G. Switzer, II
key2)# The Evaluate() function is very CPU expensive, and it's best to try and avoid using it when possible. -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL

RE: Compress HTML output

2000-12-18 Thread Dan G. Switzer, II
You could write a CFX_J tag that would use the GZip compression and send it. If you're using a Fusebox-style implementation, then you'd encapsulate you're entire page in a custom tag (i.e. .) The custom CF tag would be something like: The basic concept is yo

RE: NS6 DOM

2000-12-14 Thread Dan G. Switzer, II
Phillip, I recommend checking out the DynAPI2-it's a cross browser DHTML API that works with NS4+ (including 6) as well as IE4+. http://dynapi.sourceforge.net/ It has methods and add-ons for just about everything you could possible want-and the time you'll save from having to code around all th

RE: Netscape 6 out UGH!!!!

2000-11-15 Thread Dan G. Switzer, II
I installed it on 3 different PCs. I can't get it to work at all on one, it just GPFs and dies. I've tried reinstalling, deleting all the files and registry settings, reinstalling again, etc, etc. Still no go. The second PC wouldn't work the first time I installed it, similar problem, no GPFs, bu

RE: Netscape 6 out UGH!!!!

2000-11-15 Thread Dan G. Switzer, II
Yeah, go to the Ftp site: ftp://ftp.netscape.com/pub/netscape6/english/6.0/windows/win32/sea/N6Setup.e xe I had to do some prodding to find it, but it does work. The download is 25MBs. -Dan -Original Message- From: lsellers [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 15, 2000

RE: Help w/ Dynamic Structure Creation

2000-11-14 Thread Dan G. Switzer, II
Alex, The session scope is also a structure, so you can use the StructInsert on the Session scope as well. You can also use the format: which is a little easier to read. -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com

RE: tree structure

2000-10-30 Thread Dan G. Switzer, II
Having not looked into SQL Server 2000, does anyone know if they've added this kind of functionality yet? If not, that's a major oversight in my opinion. Even though there are efficient ways to handle parent/child relationships, the ID/ParentID is used a ton. The CONNECT BY PRIOR is definite a sw

RE: tree structure

2000-10-30 Thread Dan G. Switzer, II
Joe's best method is called the Nested Set Model, which is radically different then the classic ID/ParentID model. It really works beautifully, plus it works with every database model. I even have a version that runs well in Access. With the Nested Set Model you can pull out specific branches, fin

RE: tree structure

2000-10-30 Thread Dan G. Switzer, II
ement. any ideas? Steve "Dan G. Switzer, II" wrote: > > Not quite sure exactly what you're asking. If you can provide an example, I > can probably answer it for you. I haven't run in to anything I haven't been > able to do. > > -Dan > > -Or

RE: tree structure

2000-10-30 Thread Dan G. Switzer, II
clear on how to get those. Do you know what i mean? Steve "Dan G. Switzer, II" wrote: > > There is a non-recursive tag way to do this. However, if at all possible, > look to the db to handle this. There's a great book by Joe Celko called "SQL > for Smarties" th

RE: tree structure

2000-10-30 Thread Dan G. Switzer, II
There is a non-recursive tag way to do this. However, if at all possible, look to the db to handle this. There's a great book by Joe Celko called "SQL for Smarties" that discusses a method called "Nested Tree Model" which will allow you to pull out data in a tree format using any standard database

RE: Power of 3

2000-10-27 Thread Dan G. Switzer, II
Nathan, I think you're a little off in your interpretation. 3 ^ 3 = 27 ( 3 x 3 = 9, 9 x 3 = 27) 27 ^ (1/3) = 3 - Dan -Original Message- From: Nathan Stanford [mailto:[EMAIL PROTECTED]] Sent: Friday, October 27, 2000 4:17 PM To: CF-Talk Subject: RE: Power of 3 According to Coldfusion

RE: Capitalize First Letter of Each Word

2000-10-26 Thread Dan G. Switzer, II
John, You can add the line "val = val.toLowerCase()" before the ".split()" command, but this would cause problems with split-case names like "McDonalds", which would become "Mcdonalds." -Dan -Original Message- From: John McKown [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 26, 2000

RE:

2000-07-18 Thread Dan G. Switzer, II
Nicklas, It's available off my web site: http://www.pengoworks.com/ -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL PROT

RE: Equivalent

2000-06-28 Thread Dan G. Switzer, II
can't find the link to it right now... -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL PROTECTED] | ++---+ -Original Me

RE: CFML vs. Javascript

2000-06-28 Thread Dan G. Switzer, II
collect data or to push/pull small bits of new data to/from the database using a hidden frame. I know I didn't really answer anything specific, but hopefully this somewhat helpful. -Dan ++---------------+ | name | Dan G. Switzer, II| |company | Pen

RE: Executing a String?

2000-06-28 Thread Dan G. Switzer, II
ile. -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL PROTECTED] | ++---+ -Original Message- From: Doug Nottage [mailto:[EMAIL PROTEC

RE: sorting a structure

2000-06-26 Thread Dan G. Switzer, II
her data type... -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL PROTECTED] | ++---+ -Original Message- From: Ric Smith [ma

RE: Database Design Question

2000-06-21 Thread Dan G. Switzer, II
Brook, I'd recommend buying SQL for Smarties by Joe Celko. There's a couple of chapter specifically on ways to handle hierarchy data w/different database systems. I really like the "Nested-Set Model." The nice thing about the Nested-Set model is that you can do all your tree parsing/order via SQL

RE: Best Method

2000-06-08 Thread Dan G. Switzer, II
Jeffrey, You can use the TOP predicate along with ORDER BY DESC to pull off the last X number of records SELECT TOP 5 ArticleID, Article FROM Articles ORDER BY ArticleID DESC This assumes your primary key is called "ArticleID." -Dan ++---+ | na

RE: Jumping Sessions??

2000-06-01 Thread Dan G. Switzer, II
t could be the proxy server causing the problems. You might try passing the CFID & CFTOKEN (and possibly even a unique random variable) via the URL to help ensure the uniqueness of the request. Just some ideas... -Dan ++-------+ | name | Dan G. Switzer, II| |

RE: organizing search results for multiple collection searches

2000-05-23 Thread Dan G. Switzer, II
t and 2 pricing models-with each item separated by the caret symbol. You could of course store as many things in the list as you wanted. -Dan ++-------------------+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengowo

RE: Best Editor

2000-05-23 Thread Dan G. Switzer, II
TextPad is another option as well. From what I can tell, the specs on both UltraEdit and TextPad are about identical, but I prefer TextPad... -Dan -Original Message- From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED]] Sent: Monday, May 22, 2000 11:37 PM To: [EMAIL PROTECTED] Subject: RE: Be

RE: verity info

2000-05-19 Thread Dan G. Switzer, II
uot; to re-index the entire index. -Dan ++---------------+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL PROTECTED] | ++---+ -Original Message- From: Brian P. Doyle [mailto:[EMAIL PROTECTED]]

RE: The cf-talk@dowdell.com mailing list

2000-04-26 Thread Dan G. Switzer, II
Earl, Josh Dowdell met an untimely death about 18 months ago. His wife continued running the list server for several months after his passing, but eventually she shut it down. -Dan -Original Message- From: Hubert Earl [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 25, 2000 10:33 AM To:

RE: What's the use of structures, anyway?

2000-04-22 Thread Dan G. Switzer, II
Rueben, You might want to check out my articles on Structures at: http://www.oacfug.org/dsp_Articles.cfm I think it might help you see some other benefits of structures as well. -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com

RE: CFM templates not accessible to clients

2000-04-19 Thread Dan G. Switzer, II
Here's some links that might help: http://www1.allaire.com/Handlers/index.cfm?ID=10334&Method=Full http://www.allaire.com/Handlers/index.cfm?ID=7671&Method=Full http://forums.allaire.com/devconf/Index.cfm?Message_ID=252664 -Dan ++---+ | name | Dan G

<    1   2   3   4   5   6   7   >