Re: SUMMARY: Request Scope Follow up Locking Questions

2001-11-13 Thread Jochem van Dieten
Terry Hogan wrote: My last question was: 4. What about locking? I've read that Request Variables don't need to be locked. Is that true? Why not? Dave Watts Replied They don't need to be locked, because they're not persistent memory variables. I would rephrase that as: They don't

RE: Inserting single quotes into SQL Server... Rarrararrr!!!

2001-11-13 Thread Pascal Peters
USE CFQUERYPARAM Pascal Peters Macromedia Certified Instructor Certified ColdFusion (5.0) Advanced Developer Certified Web Developer LR Technologies, Belgium Tel +32 2 639 68 70 Fax +32 2 639 68 99 Email [EMAIL PROTECTED] Web www.lrt.be From: Kevin Langevin [EMAIL PROTECTED]

RE: Am I a crackhead: CFContent Weirdness

2001-11-13 Thread Craig Dudley
Linking o your download page like this works... Lets assume the download page is called dload.cfm dload.cfm/#DownloadFile#?file=#DownloadFile# dload.cfm needs to contain this line, seems to work fine on it's own. - cfcontent

StructClear(session) again...

2001-11-13 Thread Tage Widsell
Hi, Recently someone said that StructClear(session) was a bad way to remove session variables. Why? If I effectively want to remove an entire session (this is ti be used in a logout template), wouldn't StructClear(Session) be the way to do it? Regards Tage Widsell Webmaster Propellerhead

OT: JavaScript to navigate around data entry input forms

2001-11-13 Thread Aidan Whitehall
I need to write some JavaScript to enable users to navigate around a form that's 5 text inputs wide by up to about 30 inputs height by pressing the arrow keys, as opposed to tabbing through them. Each form input is named differently using a regular naming convention. Does anyone have any

RE: JavaScript to navigate around data entry input forms

2001-11-13 Thread Philip Arnold - ASP
I need to write some JavaScript to enable users to navigate around a form that's 5 text inputs wide by up to about 30 inputs height by pressing the arrow keys, as opposed to tabbing through them. Each form input is named differently using a regular naming convention. Does anyone have any

RE: JavaScript to navigate around data entry input forms

2001-11-13 Thread Aidan Whitehall
The first thing raised is Cross Browser Compatibility - if you want it, then it'll increase your work no end No, that's OK. IE4+ is required to use this site. Anyways, without starting on code, the general principal is to capture all events and check for the arrow key presses, then you

RE: Request Scope Questions

2001-11-13 Thread Daye, Marianne
Well, the 'issue' (to put it mildly) that we experienced appeared to be one of memory corruption. We got inconsistent, very vague error messages, sometimes referencing variable names from another application on the same server. The problems were very persistent, so if you haven't been having

RE: Inserting single quotes into SQL Server... Rarrararrr!!!

2001-11-13 Thread Sima Lee
Hi Ken, As other people pointed out that Cf will escape the single quote in a simple variable. What I have had is when you use evaluate() function to evaluate a variable which contains a singlequote then CF will fail to escape it. I solved this problem by after the evaluation replacing the

RE: StructClear(session) again...

2001-11-13 Thread Beau Harbin
Tage, If you run a the StructClear() against the session scope you will lose ALL the session keys, including the session ID, CFID and CFTOKEN. Once these are gone, it is impossible to then associate a user with a session. Good luck, Beau -Original Message- From: Tage Widsell

RE: SUMMARY: Request Scope Follow up Locking Questions

2001-11-13 Thread Sima Lee
Hi Terry, It's a very nice summary, however, I have some thoughts after reading. A couple of notes here: if you do this, use something like cfset request.var=Duplicate(session.var) to transfer the variable. If you don't use Duplicate() - correct me if I'm wrong someone! - then request.var

RE: Request Scope Questions

2001-11-13 Thread Raymond Camden
Which is not surprising. The issue was that Duplicate was not creating a true copy under certain situations. Instead it was creating pointers. This then would cause problems just like using app/session/server vars w/o locking, as Marianne describes below. I don't remember the exact situation

RE: Trying to access information I just inserted in Access

2001-11-13 Thread Beau Harbin
Bruce and Steven, I hate to quibble, but there are some issues with this psuedo-code that I think should be pointed out. 1) The use of the application.dsn variable: if you use this variable, you will need to wrap the entire query with a CFLOCK inorder to lock the application scope for readonly

RE: Request Scope Questions

2001-11-13 Thread Rich Wild
I don't remember the exact situation where Duplicate failed. I believe it was different from where StructCopy failed. If I remember right it was something pretty deep - like a struct having an array that had structs itself. Eitherway, if you are running 4.5, just get the hot fix. We had it

RE: Trying to access information I just inserted in Access

2001-11-13 Thread Steven Lancaster
Thanks to everyone for your help. Steven Lancaster WebMaster Core Laboratories 6316 Windfern Houston, TX 77040 713-328-2532 (Office) 713-328-2150 (Fax) 832-259-3010 (Cell) mailto:[EMAIL PROTECTED] http://www.corelab.com -Original Message- From: Beau Harbin [mailto:[EMAIL

Are forms really structures?

2001-11-13 Thread Kola Oyedeji
Hi I've been doing some testing with the form scope and have been getting some inconsistent results on cf 4.5.1. AFAIK the form scope is available as a structure: If i have a form with the following field: form name=myform action=test3.cfm method=post input type=text

RE: Are forms really structures?

2001-11-13 Thread Raymond Camden
If I then loop over the form as a structure: cfloop collection=#form# item=current brcfoutput#current#/cfoutput /cfloop The real form field(form.name), plus the one created on the action page (form.fake) and the fieldname variable (form.fieldname) are all displayed. So the

Re: Are forms really structures?

2001-11-13 Thread Critz
oi Kola!! I didn't think forms were a structure in versions LT 4.5 ? I did this to convert them. cfscript //cf_frmtoStruct struct=myStruct frmStruct = StructNew(); aryfrmNames = ListToArray(form.fieldnames); for(i=1; i LT ListLen(form.fieldnames)+1; i=i+1){

Re[2]: Are forms really structures?

2001-11-13 Thread Critz
oi Critz!! Bah, nevermind mei'm half asleep still! -- Critter, MMCP Certified ColdFusion Developer Crit[s2k] - CF_ChannelOP Network=Efnet Channel=ColdFusion - Tuesday, November 13, 2001, 9:23:09 AM, you wrote: C oi Kola!! C I didn't think forms

RE: SUMMARY: Request Scope Follow up Locking Questions

2001-11-13 Thread Christopher Olive
that's why you just whack the local copy of the variable back into the session scope (locking it, of course) at the end of processing. ie, CFLOCK READONLY request.localstruct = Duplicate(SESSION.mystruct) /CFLOCK .. processing on request.localstruct... CFLOCK EXCLUSIVE SESSION.mystruct =

Jscript totalling with dynamic CF Fields..

2001-11-13 Thread Angel Stewart
Hello all, Umm..I'm in a bit of a bind. I have several rows of fields that are dynamically named like Reg_#CurrentDate# or VAC_#CurrentDate#. At the end of each row, I need a Total of the numbers entered into the fields to show dynamically, as the user enters values into each field. How in

Re: Using cfheader and cfcontent to open file in UltraEdit

2001-11-13 Thread phumes1
Date: Tue, 13 Nov 2001 09:49:46 -0500 To: ColdFusion User Group From: phumes1 [EMAIL PROTECTED] Subject: Re: Using cfheader and cfcontent to open file in UltraEdit Hi, I'm using cfheader and cfcontent to open a file in Ultraedit on my PC (client) from a link on the webserver. Opening the file

RE: Jscript totalling with dynamic CF Fields..

2001-11-13 Thread Nate Smith
Loop through the elements of the form and add the value of any field whose name begins with Reg_. You may also want to put in some validation that all the fields are numeric and do not contain any non-numeric characters. function sumValues() { var TheSum = 0; for( var i=0;

Re: Using cfheader and cfcontent to open file in UltraEdit

2001-11-13 Thread Jochem van Dieten
phumes1 wrote: I'm using cfheader and cfcontent to open a file in Ultraedit on my PC (client) from a link on the webserver. Opening the file is working great except for one thing. I want the proper path of the directory/filename to appear in my editor. RIght now I get the following path

RE: Are forms really structures?

2001-11-13 Thread Andrew Scott
It's not a bug really and I am surprised it hasn't been picked up before. The thing is that CF sees everything the same to some degree, however in this case the form scope maybe appearing to be a variable if written by CF so FORM.name Would indicate a structure to CF, but only if you got CF to

adding and subtracting dates

2001-11-13 Thread Gilbert Midonnet
I would like to show a link being active if and only if the file has been put in the directory. A simple solution is if directory updated today's date do x else do y I thought this would be simple -- but I can't get it to work : Here's some of what I've tried: CFDIRECTORY

Re: SUMMARY: Request Scope Follow up Locking Questions

2001-11-13 Thread Gyrus
use something like cfset request.var=Duplicate(session.var) to transfer the variable. I think to use request.var this way you can only read the variable. Absolutely - maybe I should have said. I generally transfer session variables into the request scope in application.cfm so that I don't

Re: Help with test

2001-11-13 Thread Alex
if it's random each iteration would be mutually exclusive so your result would be different every time On Mon, 12 Nov 2001, Douglas L. Brown wrote: I want to test how many iterations I can put randRange(,) through before it comes up with a duplicate number, can someone help

RE: SUMMARY: Request Scope Follow up Locking Questions

2001-11-13 Thread Mike Townend
But surely that means that CF is using double the memory for every request... Memory to store the session details and memory to store the session details.. Whats wrong with setting CFAdmin to automatically lock reads... That way any time you read a shared var ie IsDefined and DSN's etc its

Re: adding and subtracting dates

2001-11-13 Thread BILLY CRAVENS
Try cfif NOT DateDiff(d, dateLastModified, Now()) - Original Message - From: Gilbert Midonnet [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 9:04 AM Subject: adding and subtracting dates I would like to show a link being active if and only if the file

Re: Jscript totalling with dynamic CF Fields..

2001-11-13 Thread Jon Hall
In addition to Nate's solution you could also use the this keyword onblur to do what you want, and you dont have to think about the names. script var total = 0; function addVal(number) { //adds passed value to running total var total += number; //sets hidden field to current running

RE: SUMMARY: Request Scope Follow up Locking Questions

2001-11-13 Thread mherbene
Because it doesn't work. In CF 4.5x, anyway, auto read locking doesn't catch all uses of shared-scope variables; I don't have a list of what it does and doesn't catch, but generally it misses things like Cfquery name=variables.myqyery datasource=#application.dsn# and other non-cfset

adding buttons to ezedit?

2001-11-13 Thread Kris Pilles
Anyone out there ev er aded buttons to ezedit? I am having no trouble getting them to appear just added aTD but I cannot get the onlcik= to refresh the page and change a url variable? anyone ever done anythign similar??? Kris Pilles Website Manager Western Suffolk BOCES 507 Deer Park Rd.,

Re: Help with test

2001-11-13 Thread Douglas L. Brown
Right, it would kind of be like the lottery. I just wanted to know what the odds was of a dup in a million iterations. DB - Original Message - From: Alex [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 6:44 AM Subject: Re: Help with test if it's

Re: StructClear(session) again...

2001-11-13 Thread Douglas L. Brown
structClear(session.loggedIn,username) would be a better alternative. Db - Original Message - From: Beau Harbin [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 5:00 AM Subject: RE: StructClear(session) again... Tage, If you run a the

OT: More JavaScript shenanigans

2001-11-13 Thread Aidan Whitehall
OK, I give up. Given a date/time object in JavaScript, how the heck to you add one day to it? (ie what's the equivalent of the ColdFusion DateAdd() function?) Danny Goodman doesn't seem to know, either ;-) http://developer.netscape.com/viewsource/goodman_dateobject.html Thanks -- Aidan

RE: OT: More JavaScript shenanigans

2001-11-13 Thread Aidan Whitehall
OK, I give up. Given a date/time object in JavaScript, how the heck to you add one day to it? (ie what's the equivalent of the ColdFusion DateAdd() function?) Never mind... think I got it http://www.merlyn.demon.co.uk/js-dates.htm -- Aidan Whitehall [EMAIL PROTECTED] Macromedia

mime attchments with cfmail

2001-11-13 Thread Tim
Is it possible to send more than one attchment with cfmail? I tried to list the attachments seperated by a comma and by a semi colon, but got errors. Tim ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ:

cfSchedule is not doing anything

2001-11-13 Thread John McCosker
Hi there!! I'm not getting any results from my cfshedule here. The schedule at a certain time will compile a report from date A to date B and write to an XML or Excel document. The client is still deciding on that one. So for the time being it is just sending a test email. The template runs

RE: mime attchments with cfmail

2001-11-13 Thread Pascal Peters
from the CFstudio help CFMAIL FROM=[EMAIL PROTECTED] To=[EMAIL PROTECTED] Subject=See Important Attachments and Reply CFMAILPARAM NAME=Reply-To VALUE=[EMAIL PROTECTED] Please read the text file and view the new logo, and let us know what you think. CFMAILPARAM

RE: mime attchments with cfmail

2001-11-13 Thread Boardwine, David L.
Just include multiple CFMAILPARAM tags CFMAILPARAM File=#DocsLocation##FileName1# CFMAILPARAM File=#DocsLocation##FileName2# CFMAILPARAM File=#DocsLocation##FileName3# -Original Message- From: Tim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 11:03 AM To: CF-Talk Subject:

Re: cfSchedule is not doing anything

2001-11-13 Thread Don Vawter
grasping at straws but does administrator use dates in dd/mm/ format or is it provincial ;) and take only mm/dd/ format? - Original Message - From: John McCosker [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 9:03 AM Subject: cfSchedule is not

RE: cfSchedule is not doing anything

2001-11-13 Thread John McCosker
Do I have to have the coldfusion executive running for CFShedule to work on an NT server or Just when using LocalHost. Ahh just as I am writing a reply to myself, incoming mail. grasping at straws but does administrator use dates in dd/mm/ format or is it provincial ;) and take only

Radio Button

2001-11-13 Thread Steven Lancaster
Is there any way to take a value out of a database and see if it matches a value on a radio button and if it does to check that radio button? I have 3 radio buttons. I need to look at the values and see if they match whichever one matches I need to have that radio button checked. I know this

Re: Radio Button

2001-11-13 Thread Bryan Stevenson
yuphere goes.. cfparam name=radMyRadioButton default=Value From Database input type=radio name=radMyRadioButton value=1 cfif radMyRadioButton eq 1checked/cfif input type=radio name=radMyRadioButton value=2 cfif radMyRadioButton eq 2checked/cfif Ta Da! ;-) Bryan Stevenson VP Director

ActiveMail

2001-11-13 Thread Tyler Silcox
Anybody out there in the great ColdFusion hell that is cfmail use ActiveMail from CFDev.com? (http://www.cfdev.com/jmail/) I talked to them a few weeks ago and it seems like a much needed replacement for cfmail. I'm soliciting responses for how it's working for those of y'all that are

RE: OT : More JavaScript shenanigans

2001-11-13 Thread Gantz, Shlomy
for all your how do I do that cf function in JavaScript? ... I once built the CFMLjsLibrary, all cold fusion functions, re-built in JS. you can download it from : http://devex.allaire.com/developer/gallery/info.cfm?ID=CA347557-2830-11D4-AA 9700508B94F380method=Full Shlomy -Original

RE: Radio Button

2001-11-13 Thread Philip Arnold - ASP
Is there any way to take a value out of a database and see if it matches a value on a radio button and if it does to check that radio button? I have 3 radio buttons. I need to look at the values and see if they match whichever one matches I need to have that radio button checked. I know

RE: JavaScript to navigate around data entry input forms

2001-11-13 Thread Marlon Moyer
At 11:50 AM 11/13/2001 +, you wrote: The first thing raised is Cross Browser Compatibility - if you want it, then it'll increase your work no end No, that's OK. IE4+ is required to use this site. Good, then now all you have to do is make is cross compatible with 4 versions :)

RE: Radio Button

2001-11-13 Thread Steven Lancaster
what does iif and de stand for? I understand what it is doing, I just don't understand the syntax. Steven Lancaster WebMaster Core Laboratories 6316 Windfern Houston, TX 77040 713-328-2532 (Office) 713-328-2150 (Fax) 832-259-3010 (Cell) mailto:[EMAIL PROTECTED] http://www.corelab.com

Form problem

2001-11-13 Thread Douglas L. Brown
I have a shipping form for an e-commerce site and have a delima. The form is populated from a query that grabs the last shipping address that the customer used. I have a dropdown on the page now that gives the user the option to choose from the list of addresses they have used in the past,

RE: Radio Button

2001-11-13 Thread Mike Townend
I belieive IIF stands for Inline IF and DE stands for Delay(ed) Evaluation HTH Mike -Original Message- From: Steven Lancaster [mailto:[EMAIL PROTECTED]] Sent: 13 November 2001 16:50 To: CF-Talk Subject: RE: Radio Button what does iif and de stand for? I understand what it is doing,

RE: Radio Button

2001-11-13 Thread Lee Fuller
Delayed Evaluation.. It's a function. Lee -Original Message- From: Steven Lancaster [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 8:50 AM To: CF-Talk Subject: RE: Radio Button what does iif and de stand for? I understand what it is doing, I just don't

RE: Radio Button

2001-11-13 Thread Steven Lancaster
I looked it up (sorry). I tried to use the iif but I can't get it to work. I will send a snippet and you can see what I am trying to do. cfloop query=check input type=radio name=status value=Not Assigned Yet #IIf(status is Not Assigned Yet, de(checked) ,de ())#

RE: Radio Button

2001-11-13 Thread John McCosker
iif is a boolean evaluation for expressions that are dynamic. iff true(doThis..) false(doThis..) if elseif and else is for general conditional logic. JMC -Original Message- From: Steven Lancaster [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 4:50 PM To: CF-Talk Subject:

Re: Are forms really structures?

2001-11-13 Thread Jochem van Dieten
Kola Oyedeji wrote: AFAIK the form scope is available as a structure: If i have a form with the following field: form name=myform action=test3.cfm method=post input type=text name=name value=kola input type=Submit /form and on the action page create

Re: Radio Button

2001-11-13 Thread Bryan Stevenson
Hey Steven, If the form will be posted and do some sort of server-side error checking (and re-shown with errors if any are found) then my method (back a few posts) is the one to go with. This is because my method initializes the var for the radio button which then passes it's new or unchanged

RE: JavaScript to navigate around data entry input forms

2001-11-13 Thread Gonzo Rock
A bit OT,(just an intellectual exercise for me...) but I'm curious as to why?? you are using arrow keys to navigate the fields? What is the user to do when they need to arrow key around inside a text box ??? Though I can understand moving around a big grid with Tab/ShiftTab can be a drag.

Having major problems with session variables

2001-11-13 Thread Chris Bohill
Hi, Session Variables seem to be a hot topic at the minute, so I was wondering if anyone could shed some light or give some advice on the problem below. We have a multiple user web based application that is all user-profile based. User A is the site administrator with full access to the site.

Re: Radio Button

2001-11-13 Thread Douglas L. Brown
This is what I am using for this, hope I'm not far off, I did not see the original post CFPARAM NAME=status DEFAULT=status1 html head titleUntitled/title /head body form name=test CFIF isDefined(status) CFIF status EQ status1 CFSET status_value = CHECKED /CFIF /CFIF CFOUTPUT Status

Re: Form problem

2001-11-13 Thread Jon Hall
I'm assuming that when they select a different address from the dropdown you submit to the page again and query out the values for that address. So why not just do the query for something that will never return a record when they select new? Since CF will always populate a query that returns no

RE: Radio Button

2001-11-13 Thread Philip Arnold - ASP
input type=radio name=status value=Not Assigned Yet #IIf(status is Not Assigned Yet, de(checked) ,de ())# If you don't put quotes around the Not Assigned Yet, CF will assume it has to evaluate it input type=radio name=status value=Not Assigned Yet #IIf(status is Not Assigned Yet,

Re: Having major problems with session variables

2001-11-13 Thread Douglas L. Brown
Well, as far as the sessions getting mixed up I do not see how this is happening unless they are sending links to eachother with their session vars in the url. One thing to note, is that with structClear() you will be killing all session vars and not just the user that logged out. I would say

Re: Form problem

2001-11-13 Thread Douglas L. Brown
Well I am trying to get away from the reload action, I want it to be as fast as possible for the user. Doug - Original Message - From: Jon Hall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 9:29 AM Subject: Re: Form problem I'm assuming that when

RE: Having major problems with session variables

2001-11-13 Thread Brunt, Michael
Are you literally using the user's first name as the session variable? if so I would not do this. If you have not done so create a user table with a unique ID for each user and when they log in use that unique ID as the session variable for that user. Also check overall for variable naming to

RE: Radio Button

2001-11-13 Thread Steven Lancaster
That worked perfect it did exactly what I wanted it too. Thanks I did a little reading on IIF and DE and they are going to be very useful. Steven Lancaster WebMaster Core Laboratories 6316 Windfern Houston, TX 77040 713-328-2532 (Office) 713-328-2150 (Fax) 832-259-3010 (Cell)

Re: ActiveMail

2001-11-13 Thread Gordon Burns
At 16:45 13/11/01 Tyler Silcox said Anybody out there in the great ColdFusion hell that is cfmail use ActiveMail from CFDev.com? (http://www.cfdev.com/jmail/) I talked to them a few weeks ago and it seems like a much needed replacement for cfmail. I'm soliciting responses for how it's

RE: Are forms really structures?

2001-11-13 Thread Kola Oyedeji
That is one of the most useful sites i've been to . Why is this site not publicised?? I have loads of additional notes and tips scrawled on pages of my paper documentation which I would love to inform allaire of. cheers Kola Oyedeji Web developer Macromedia Certified Advanced ColdFusion 5

Flash Kit Calendar Error

2001-11-13 Thread Robert Everland
I thought it was my application screwing up the flash kit calendar. But even when I tried the test it gives me a javascript error saying Line:11 Char:2 Error: 'document.all.obj' is null or not an object Code: 0 Anyone from Fig Leaf have an answer? Just downloaded it today. First time

Re: StructClear(session) again...

2001-11-13 Thread Matt Robertson
How is username defined here? The answer is probably obvious, but I'm still working on my first cup of coffee. - Matt Robertson [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com - - Original

RE: Are forms really structures?

2001-11-13 Thread Dave Watts
You are not looping over the form scope here, you are looping over the form variable form.fieldnames. The presence of this variable in the debug output makes me believe that this list is actually created by the browser and submitted together with all the other formfields. Which would

RE: cfSchedule is not doing anything

2001-11-13 Thread Dave Watts
Do I have to have the coldfusion executive running for CFSchedule to work on an NT server or Just when using LocalHost. Yes, the CF Executive service must be running to use CFSCHEDULE or the scheduling options in CF Admin. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone:

Re: StructClear(session) again...

2001-11-13 Thread Douglas L. Brown
Well it depends on what the key is in your structure. I personally do not use a struct for keeping my login stuff, I just use the temp token etc. They will be independenat of eachother and will expire immediately once the user closes his browser. login page cfquery name=getLogin

Re: (ot) Access, SQL Server and Replication

2001-11-13 Thread Richard Meredith-Hardy
Sounds like a job for WDDX I have done something like this where Excel running locally talks to a web server by WDDX so I don't suppose it would be too difficult to get Access to do the same. Owens, Howard wrote: I have a client with an ecommerce site (not quite finished yet). One of the

Re: SUMMARY: Request Scope Follow up Locking Questions

2001-11-13 Thread Gyrus
But surely that means that CF is using double the memory for every request... Memory to store the session details and memory to store the session details.. Tis true, but the sites I've done so far aren't generally high-traffic sites, and there haven't been any problems. In fact, 99% of the

Re: Form problem

2001-11-13 Thread Jon Hall
Here is an example... http://216.136.31.164/jsarray.htm You could go one further and populate javascript arrays with all of the addresses they have and then populate the fields with the array values depending on what they selected. jon - Original Message - From: Douglas L. Brown [EMAIL

RE: SUMMARY: Request Scope Follow up Locking Questions

2001-11-13 Thread Dave Watts
Plus, my guess is/was that the general server load would be balanced out by the reduction of any number of CFLOCKs down to one (in application.cfm) - tho this could be a wrong-headed way of thinking about it. Anyone got any opinions - even better, stats! - on the impact of using this

Re: StructClear(session) again...

2001-11-13 Thread Matt Robertson
DOH! I define the structure. duh. Thanks for the pointer ;D --Matt-- - Original Message - From: Douglas L. Brown [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 10:24 AM Subject: Re: StructClear(session) again... Well it depends on what the key is

StructClear(Session)

2001-11-13 Thread Maia, Eric
Douglas said: One thing to note, is that with structClear() you will be killing all session vars and not just the user that logged out. I just checked, and in my app at least, this is not true. I use StructClear(session) to log folks out and it works just fine. I just tried logging in as two

Re: SUMMARY: Request Scope Follow up Locking Questions

2001-11-13 Thread Don Vawter
I would think it would depend on the usage in the app. For instance I refer to the data source in dozens if not hundreds of places in my apps and I certainly am going to make that a request scope var because I doubt there is measurable overhead in request.ds=blah and it avoids putting locks in

Re: StructClear(Session)

2001-11-13 Thread Tyler Silcox
I actually just needed to delete a structure, so I read up a little and tried out some cfdumps, and according to Jedi Master Forta (Web Application Construction Kit, 4th Ed), StructClear just erases the current user's session (and everything in it.) It doesn't erase all session variables on the

RE: StructClear(Session)

2001-11-13 Thread Zac Belado
Douglas said: One thing to note, is that with structClear() you will be killing all session vars and not just the user that logged out. I just checked, and in my app at least, this is not true. I believe that it will not clear out the CFIF and CFToken in versions 4.x but will do so in

Text Area character count and differential-incremental insert

2001-11-13 Thread Brunt, Michael
I am working on a ColdFusion 5.0 DB2-ODBC application and have the need to count the characters inserted into a text area and action different SQL dependant on the number of characters. The text area input has to be broken into chunks of 250 characters unknowns to the application user (they go

RE: StructClear(Session)

2001-11-13 Thread Zac Belado
Douglas said: One thing to note, is that with structClear() you will be killing all session vars and not just the user that logged out. I just checked, and in my app at least, this is not true. I believe that it will not clear out the CFIF and CFToken in versions 4.x but will do so

Crash Studio 4.5.2 lost data.

2001-11-13 Thread David Green
I've had this twice in the last month. I go to close studio and get access violation errors can not close the application have to use the task manager. When I look at the page that was opened at the time I now have zero bytes in the file. (GRRR). This has happened on a windows 98

RE: Crash Studio 4.5.2 lost data.

2001-11-13 Thread Maia, Eric
I think this may have happened to me when I've had files open in browse mode when I closed. I always make sure that I've closed all files before closing Studio, or at least switch into Edit mode. Eric -Original Message- From: David Green [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November

RE: Crash Studio 4.5.2 lost data.

2001-11-13 Thread Megan Cytron
I just lost a couple of hours work. Off to load the back up tape and see how much I lost. Before you go to the backup tapes... did you try looking in the windows/temp folder for the machine running CF Studio? Sort it by date or look for files beginning with cf~. I've found a lot of

RE: Crash Studio 4.5.2 lost data.

2001-11-13 Thread Jeff Stone
I have had the same problem before, and I am running Win 2K. Another problem that I encounter using the same release as you mentioned below, is when using RDS to save files. Sometimes, when I save a file and then alt+tab to another file that I have open, the file saving will overwrite the file

Re: MySQL ODBC on Linux

2001-11-13 Thread Alexis Maldonado
look at http://www.mysql.com/doc/A/d/Adding_users.html to set up the users in mysql. Alex, - Original Message - From: Brian Silvers [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, November 11, 2001 11:57 AM Subject: Re: MySQL ODBC on Linux Bud, yes the username and

RE: Crash Studio 4.5.2 lost data.

2001-11-13 Thread Steven Lancaster
I have this used to happen to me a lot until I started saving my documents a lot then I quit using the browse feature it hasn't happened since. Steven Lancaster WebMaster Core Laboratories 6316 Windfern Houston, TX 77040 713-328-2532 (Office) 713-328-2150 (Fax) 832-259-3010 (Cell)

Re: Crash Studio 4.5.2 lost data.

2001-11-13 Thread David Green
Thanks all for the help. Yes I was in browse mode when I closed the studio. wont be again :). Looking for temp file now. Again thanks David - Original Message - From: Steven Lancaster [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 12:55 PM Subject:

Passing recordsets between CF and Oracle 8 stored procedures

2001-11-13 Thread Francisco Montes
¿Is it possible to do it with CF Server 4.5? ¿Both ways even? ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives:

More OT Javascript: Dual Submit Buttons on One Form.

2001-11-13 Thread Angel Stewart
There really should be a single repository for information about these common JS tasks that nearly all CF Programmers will need to use sooner or later :) input type=submit value=delete onclick=document.Timeentry_billable.action='timeentry_deletechargeinfo.

TextArea wrapping

2001-11-13 Thread Neil H.
I need to figure out why some textareas are limited in my table to the width of 100% while others just go way over. Is there something I could be missing. The contents of the text area are sentences not solid strings so you would think it could wrap? Thanks, Neil

RE: TextArea wrapping

2001-11-13 Thread Sicular, Alexander
Wrap textarea wrap=off/soft/hard/virtual Check with w3c for official usage. Good luck, Alexander Sicular Chief Technology Architect Neurological Institute of New York Columbia University as867 [at] columbia {dot} edu |-Original Message- |From: Neil H. [mailto:[EMAIL PROTECTED]]

Re: More OT Javascript: Dual Submit Buttons on One Form.

2001-11-13 Thread Craig
I get that all of the time. Name your submit button something else. I think it has a default name as submit, so when you call the submit method: document.Timeentry_billable.submit(); It thinks you are referring to the submit button, not the form's method. so you need something like: input

Verity Indexing Headaches

2001-11-13 Thread James Sleeman
Hi all, I have a problem with Verity, basically it doesn't index everything I tell it to index. I am populating an index using CFINDEX from a query with about 1700 records, the process works fine. Problem comes when I go to search, not all of the records are there... for example...

RE: More OT Javascript: Dual Submit Buttons on One Form.

2001-11-13 Thread Angel Stewart
Umm.. I tried that..a new name and stuff. input name=Deletebutton type=button value=Add More onclick=document.Timeentry_billable.action='timeentry_deletechargeinfo. cfm';document.Timeentry_billable.submit(); class=buttons And I still get that same exact error. It is driving me nuts..I can't

SQL Query

2001-11-13 Thread Nick Le Mouton
SELECT DISTINCT highlightDates.highlightID, HighlightDates.HighlightDate, Highlights.* FROM Highlights, HighlightDates WHERE HighlightDates.HighlightDate = #startweek# AND HighlightDates.highlightdate = #DateAdd('ww', 1, startweek)# AND Highlights.HighlightID = HighLightDates.HighlightID AND

RE: SQL Query

2001-11-13 Thread Gantz, Shlomy
because you have Highlights.* ... shlomy -Original Message- From: Nick Le Mouton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 5:51 PM To: CF-Talk Subject: SQL Query SELECT DISTINCT highlightDates.highlightID, HighlightDates.HighlightDate, Highlights.* FROM Highlights,

  1   2   >