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

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

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: 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'm

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:

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-Talk

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 At

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: input type=button value=preview onClick=window.open('preview.cfm?name=' + escape(document.forms[0].Yourname.value),'',...) -Dan -Original Message- From: FARRAH NG [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May

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

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

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:

RE: COOKIE expiration :((

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

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

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 looking for an

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

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: 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,

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

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

RE: tree structure

2000-10-30 Thread Dan G. Switzer, II
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" that discusses a method called "Nested Tree Mod

RE: tree structure

2000-10-30 Thread Dan G. Switzer, II
? 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 -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECT

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

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: CFSET Session[idx] = StructNew() which is a little easier to read. -Dan ++---+ | name | Dan G. Switzer, II

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: 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,

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

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. CF_HTMLCompress/CF_HTMLCompress.) The custom CF tag would be something like: CFIF ThisTag.ExecutionMode IS

RE: looping over structures

2000-12-19 Thread Dan G. Switzer, II
ntStructure[key], key2)#/cfoutputbr /cfloop /cfloop 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

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: 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 CFQUERY or CFTOREDPROC tags. The spExecuteDTS is the only SP you use, but the second SP is used by spExecuteDTS. -Dan

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

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

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

qForms JavaScript API v1.0 Released!!!

2001-02-19 Thread Dan G. Switzer, II
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 to JavaScript interaction with form elements

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

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

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:

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

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

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

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:

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

RE: same form-based page for edit and display?

2000-04-03 Thread Dan G. Switzer, II
I use a table around the text w/an edit icon in the upper right-hand corner. I'll e-mail you off-list a couple images that show the difference. I use a subtle background color change as well-it doesn't show up in 256 colors, but you could choose something less subtle that does-either way, the

RE: Surveys

2000-04-03 Thread Dan G. Switzer, II
Check out my CF_FormWizard w/the wddxFormLibrary JavaScript Library: http://www.oacfug.org/users/dswitzer/forms/ -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL

RE: Speed of CFMAIL

2000-04-05 Thread Dan G. Switzer, II
++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL PROTECTED] | ++---+ -Original Message- From: Chris Evans [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 05, 2000

RE: Captupturing Form Elements

2000-04-06 Thread Dan G. Switzer, II
Brain, WDDX won't do it natively, but I have a library that will: http://www.oacfug.org/users/dswitzer/forms/ -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL

RE: Programatically setting search path for custom tags

2000-04-06 Thread Dan G. Switzer, II
It's been something I've requested a few times. I'd love to be able to define a user-defined "CustomTags" directory within the CFAPPLICATION tag. -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |

Upcoming OACFUG Meeting [Tuesday, April 11, 2000]

2000-04-06 Thread Dan G. Switzer, II
The next meeting of the Ohio Area Cold Fusion Users Group will held on Tuesday, April 11, 2000 at 6:30pm. Our topics for this month include: - All the Latest News from Allaire Security Bulletins Product Info, Updates, Bug Fixes - OACFUG News and Info you need Coming events for this

WOT: Sony VAIO F490 Win2K Drivers Needed...

2000-04-06 Thread Dan G. Switzer, II
for the NeoMagic 256XL+ drivers.) Thanks (and sorry for wasting for the OT,) Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL PROTECTED

RE: Netscape! Hidden fields?

2000-04-07 Thread Dan G. Switzer, II
Chris, Make sure your form has an ending /FORM tag. Netscape really has problems when this isn't present. IE will still pass the form's content though... -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http

RE: Alphabetical Order

2000-04-07 Thread Dan G. Switzer, II
ription FROM Services ORDER BY Description /CFQUERY CFOUTPUT QUERY="GetServices"#Description#BR /CFOUTPUT NOTE: To sort by "descending" order, add "DESC" after the column name. You can also sort by multiple columns. -Dan +--------+------

RE: WDDX , prefilling forms

2000-04-11 Thread Dan G. Switzer, II
Justin, That's me. Here's the URL: http://www.oacfug.org/users/dswitzer/forms/ -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL PROTECTED

RE: Slightly OT: DHTML and z-index

2000-04-11 Thread Dan G. Switzer, II
. Not sure how Netscape 6 will deal with it. It's definitely an annoying "feature." :) -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL

RE: Is 4.5.1 Solid (CF4.5 Is Brand New Code)

2000-04-12 Thread Dan G. Switzer, II
I just want to point out something that I think is important to note. CF4.5 is a basically a re-write from scratch. Previous version of CF that worked on Solaris relied on a third-party solution to emulate NT under Solaris. The reason they used the Bristol solution, was so they could port to

RE: 4.5.1 Solaris cfif weirdness

2000-04-12 Thread Dan G. Switzer, II
ons: CFIF NOT Compare(string1, string2) /CFIF -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL PROTECTED] | ++---+ -Original Message

RE: Passing parameters over multiple forms

2000-04-12 Thread Dan G. Switzer, II
works w/Netscape v2 as well.) -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL PROTECTED] | ++---+ -Original Message- From

RE: multiple inserts in single query

2000-04-14 Thread Dan G. Switzer, II
for normally connectivity, and one for sending packets larger then 65K. -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL PROTECTED

RE: Source Control

2000-04-17 Thread Dan G. Switzer, II
I downloaded and installed it. The feature list is incredible rich, but there is most definitely a learning curve involved. I had to put it on the backburner until I had more time to play with it. However, there are some really killer features (like being able to have multiple developers work on

RE: Source Control

2000-04-17 Thread Dan G. Switzer, II
[mailto:[EMAIL PROTECTED]] Sent: Monday, April 17, 2000 11:50 AM To: [EMAIL PROTECTED] Subject: RE: Source Control -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]] Sent: Monday, April 17, 2000 11:49 AM To: [EMAIL PROTECTED] Subject: RE: Source Control backburner

RE: Parent/Child query

2000-04-19 Thread Dan G. Switzer, II
means, but has some really great useful tips for organize your data. -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL PROTECTED

RE: Parent/Child query

2000-04-19 Thread Dan G. Switzer, II
looking to do parent/child relationships in a database, to buy the SQL for Smarties book by Joe Celko. It's not a beginners book by any means, but has some really great useful tips for organize your data. -Dan ++---+ | name | Dan G. Switzer, II| |company

RE: CFM templates not accessible to clients

2000-04-19 Thread Dan G. Switzer, II
1480Method=FullCache=Off -Dan ++---------------+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL PROTECTED] | ++---+ -Original Message- From: J

RE: custom tags tutorials

2000-04-19 Thread Dan G. Switzer, II
Creating a Custom ColdFusion Tag (101) http://www.oacfug.org/dsp_Articles.cfm?view=Articles_58 -Dan ++---+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL PROTECTED

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=10334Method=Full http://www.allaire.com/Handlers/index.cfm?ID=7671Method=Full http://forums.allaire.com/devconf/Index.cfm?Message_ID=252664 -Dan ++---+ | name | Dan G. Switzer, II

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: 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

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

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

RE: verity info

2000-05-19 Thread Dan G. Switzer, II
-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: 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:

RE: organizing search results for multiple collection searches

2000-05-23 Thread Dan G. Switzer, II
"" Now the Custom1 field would contain a list holds the item of a product 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

RE: Jumping Sessions??

2000-06-01 Thread Dan G. Switzer, II
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| |company | PengoWorks.com

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: 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

RE: sorting a structure

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

RE: Executing a String?

2000-06-28 Thread Dan G. Switzer, II
+ | name | Dan G. Switzer, II| |company | PengoWorks.com| |www | http://www.pengoworks.com | | mailto | [EMAIL PROTECTED] | ++---+ -Original Message- From: Doug Nottage [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 27, 2000 11:21 PM T

RE: CFML vs. Javascript

2000-06-28 Thread Dan G. Switzer, II
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 | PengoWorks.com| |

RE: IMG SRC= ALT= Equivalent

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

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

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: Wednesday,

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

RE: Alternating BG colors on a TD

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 a TD

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

RE: Four Selects Related.

2001-08-23 Thread Dan G. Switzer, II
at cfug or have you done this already? -paul -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 22, 2001 1:33 PM To: CF-Talk Subject: RE: Four Selects Related. Paul, Using qForms it's pretty easy to this. Since it's OO

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(

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 string being

qForms v2.0 Survey...

2002-03-29 Thread Dan G. Switzer, II
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 for dependable ColdFusion Hosting. FAQ: http

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]]

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:

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: 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 = MyObjectAddObject();

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

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

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

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. cfxml variable=sampleXML rules rule name=firstRule subelement name=myAttributetext here/subelement /rule rule

RE: XPath in CFMX

2003-03-12 Thread Dan G. Switzer, II
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] Sent: Wednesday, March 12, 2003 3:34 PM

RE: XPath in CFMX

2003-03-12 Thread Dan G. Switzer, II
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 Oh yeah, to workaround the bug, you could write a UDF that you'd run before passing the xmlSearch

RE: XPath in CFMX

2003-03-12 Thread Dan G. Switzer, II
Uh, //[EMAIL PROTECTED] and //rule/@name aren't equivalent XPATH expressions. The first is all element rule nodes which have a name attribute while the second is all name attribute nodes belonging to a rule element node You are correct, but the problem stems more from the way Macromedia

RE: Accessing JS variables in CF?

2003-03-24 Thread Dan G. Switzer, II
Dave, You can't inter-mingle server-side code (CF) and client-side code (JS.) CF runs strictly on the server, while the JS in this example runs strictly on the client-side. You can use techniques like covered in my article Client-to-Server Communication Using DHTML--which is at:

RE: Using JS variables in CF

2003-03-26 Thread Dan G. Switzer, II
Even tho' you have to make a request you can make that request without having to redisplay the page. I've an article about the simplest method for doing this on my site here: http://www.depressedpress.com/DepressedPress/Content/ColdFusion/Essays/G IFAsPipe/Index.cfm That article links

  1   2   3   4   5   6   7   >