String Formating
I have a form which I am dumping into a database. I need to keep the formatting that was used when submitting form (line breaks and spaces). What I would like to do is replace spaces and breaks with "nbsp;" and "br" How do I replace line breaks with a br? By the way, I dont want to use pre/pre to format the text. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
255 character max in Access ???
is it possible to store more then 255 characters in an access database? If so how can I do that? Thanks! ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: 255 character max in Access ???
Change the field data type to memo in design mode (you can't index this though) At 01:25 am 29/01/01 , you wrote: is it possible to store more then 255 characters in an access database? If so how can I do that? Thanks! ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: 255 character max in Access ???
Besides the indexing issue, are there any drawbacks to using the Memo type? -- Owen -Original Message- From: Seamus Campbell [mailto:[EMAIL PROTECTED]] Subject: Re: 255 character max in Access ??? Change the field data type to memo in design mode (you can't index this though) At 01:25 am 29/01/01 , you wrote: is it possible to store more then 255 characters in an access database? If so how can I do that? Thanks! ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: String Formating
You can do a cfset NewString = Replace(String, "#CHR(10)##CHR(13)#", "br", "ALL") to replace the CR/LF. I may have those backwards (the 10 and 13), but that will give you the results you're looking for. As far as the double-spaces, you can use cfset NewString = Replace(String, " ", " nbsp;", "ALL") HTH Hatton Humphrey -Original Message- From: Chad Elley [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 6:50 PM To: CF-Talk Subject: String Formating I have a form which I am dumping into a database. I need to keep the formatting that was used when submitting form (line breaks and spaces). What I would like to do is replace spaces and breaks with "nbsp;" and "br" How do I replace line breaks with a br? By the way, I dont want to use pre/pre to format the text. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: ALLR/MACR Merger - ColdFusion to be repositioned ?????
On Fri, 26 Jan 2001 14:36:45 -0700, JayB [EMAIL PROTECTED] wrote: BTW...after all the talk about flash and ads on the list the last couple of weeks...check out cnet's new ads...flash based,interactive..and even kinda fun...thought it was a really nice use of flash... I despise their new ad system. Mainly because the spots take up too much screen real estate... they're so large that, even on a PIII-500, they make the browser "jump" while scrolling past them. They also squeeze the actual content into a narrow channel that's difficult to read. And it doesn't help that they seem to have all of five unique ads to display at this point. IOW, they just lost a whole lotta page-views coming from my IP. -- Roger ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFOBJECT problem
Hi Deb, Thanks a bunch, it works like charm! What a way to start superbowl Sunday... CF, EJB with JRun is next, so be prepared :-))) (ok, ok, next time I will check the KB first) I am planning to use this a lot as a way to separate business logic from presentation. Is this the right way? laszlo P.S: DO I have to ACTION = "Create"? (it's not in the manual [pg. 335 Calling Javas Objects]) Deb Dickerson wrote: No need to uninstall/install for this problem. Just do the following: Run "regedit". Navigate to HKEY_LOCAL_MACHINE/SOFTWARE/Allaire/ColdFusion/CurrentVersion/JVM Double-click on JVMLoad and change the value from 1 to 0. Close the registry editor and now restart ColdFusion. At that point you'll be able to restart ColdFusion and then fix your JVM settings. It should be pointing to the jvm.dll file, not just a directory. For more info, here's a KB on the subject: http://www.allaire.com/Handlers/index.cfm?ID=13863Method=Full Debbie -Original Message- From: Laszlo Nadai [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 8:14 PM To: CF-Talk Subject: CFOBJECT problem Hi Gurus, I was trying to do some CFOBJECT stuff, but I cannot configure CFusion server. What am I supposed to put into the "JVM library path"? (It's NT4.) I was trying to do: c:\jdk1.2.2\bin\ because that's where I have java.exe After doing this, I couldn't eve start the server again... Uninstall, install again...:-((( Where are these settings stored? Any config file around? Am I missing something here (happened before :-) TIA, laszlo ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: ALLR/MACR Merger - ColdFusion to be repositioned ?????
I love the new ads :) First set of ads that I actually used to find out more about the product being advertised. And I have an old PII 400and I noticed no 'stuttering'. :-) -Gel - Original Message - From: Roger B. [EMAIL PROTECTED] I despise their new ad system. Mainly because the spots take up too much screen real estate... they're so large that, even on a PIII-500, they make the browser "jump" while scrolling past them. They also squeeze the actual content into a narrow channel that's difficult to read. And it doesn't help that they seem to have all of five unique ads to display at this point. IOW, they just lost a whole lotta page-views coming from my IP. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: The real distance formula
Correct me if i'm wrong, but in a spherical environment (the earth) a straight line is not always the shortest is it ? That depends if you can dig your way through g Has anyone got a spare TBM that I can borrow? Oh, and the Earth isn't a sphere, it's an oblate spheroid (a slightly squished sphere), but now I'm just being picky... Philip Arnold Director Certified ColdFusion Developer ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: String Formating
You can do a cfset NewString = Replace(String, "#CHR(10)##CHR(13)#", "br", "ALL") to replace the CR/LF. I may have those backwards (the 10 and 13), but that will give you the results you're looking for. Don't pick on them both (and it's 13 then 10), pick on just one - not all browsers send both back from a TEXTAREA if you're taking your data from a form - I normally replace Chr(13) with a br Philip Arnold Director Certified ColdFusion Developer ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: 255 character max in Access ???
Besides the indexing issue, are there any drawbacks to using the Memo type? They can't be used in a WHERE, you can only deal with them in the SELECT part of your SQL Once it's in CF, you can do whatever you want. Philip Arnold Director Certified ColdFusion Developer ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFSCRIPT performance
I've done multiple else if() statements within cfscript many times. No problems at all. OK, so maybe I shouldn't just trust the books - since it didn't mention being able to have multiple else if()s, I had avoided them Code re-write time, methinks g Philip Arnold Director Certified ColdFusion Developer ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: 255 character max in Access ???
Philip, If I understand your statement correctly, I think I have to take issue. I have a newsletter app I've been working on where the following code works just fine (article_text is an Access memo field, and criteria is the form field): WHERE article_text LIKE '%#criteria#%' Maybe an exception to the rule? Regards, --John Philip Arnold - ASP wrote: Besides the indexing issue, are there any drawbacks to using the Memo type? They can't be used in a WHERE, you can only deal with them in the SELECT part of your SQL Once it's in CF, you can do whatever you want. -- Great minds discuss ideas; Average minds discuss events; Small minds discuss people. -- Eleanor Roosevelt ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: 255 character max in Access ???
If I understand your statement correctly, I think I have to take issue. I have a newsletter app I've been working on where the following code works just fine (article_text is an Access memo field, and criteria is the form field): WHERE article_text LIKE '%#criteria#%' Maybe an exception to the rule? Was this added in one of the MDAC updates? When I last used Access as an ODBC datasource (about 2 years or so ago) you couldn't do this, and you definitely can't do it (directly) with SQL Server... maybe in the updates they got around this problem... or am I just over-tired? Philip Arnold Director Certified ColdFusion Developer ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: Netscape Browser Frames Problem
I am wondering if anyone has any ideas of what causes this FRAMES problem with Netscape 4.x browsers. I have two frames. Frame 1 has a form with its action targeted to frame 2. The first time the form is submitted, it correctly targets frame 2, but the next time you submit the form in frame 1 it opens a new window instead of targeting frame two. The code in frame 1 hasn't changed at all, it just seems to only correctly target frame 2 once...and then from then on, it opens a new window. Is this a bug in Netscape Communicator 4.7? Does anyone know of any ways around this problem. Thanks, Eron ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: 255 character max in Access ???
Philip, Don't know if you're over-tired, but this is definitely possible using both Access 97 (my version is 2-3 years old at least) and Access 2000. --John Philip Arnold - ASP wrote: If I understand your statement correctly, I think I have to take issue. I have a newsletter app I've been working on where the following code works just fine (article_text is an Access memo field, and criteria is the form field): WHERE article_text LIKE '%#criteria#%' Maybe an exception to the rule? Was this added in one of the MDAC updates? When I last used Access as an ODBC datasource (about 2 years or so ago) you couldn't do this, and you definitely can't do it (directly) with SQL Server... maybe in the updates they got around this problem... or am I just over-tired? Philip Arnold Director Certified ColdFusion Developer ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: 255 character max in Access ???
Don't know if you're over-tired, but this is definitely possible using both Access 97 (my version is 2-3 years old at least) and Access 2000. Probably am... I haven't had a day off since the new year, and working 10-12 hours each day - I'd be surprised if I WASN'T tired g I'm off home now - eyes are getting too tired to work properly Philip Arnold Director Certified ColdFusion Developer ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Using a target anchor and a query string together
Hi. I'm having a problem with this in IE5. If my link looks like this: link.cfm#target it goes the a name="target" just fine. However, link.cfm#target? or link.cfm#target?cfid=123cftoken=567890 doesn't. It works fine in Netscape. Any way to make this wotk in IE5? -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Using a target anchor and a query string together
Shouldn't the #something come at the end of the URL like: link.cfm?#target or link.cfm?cfid=123cftoken=567890#target Regards, Howie - Original Message - From: "Bud" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, January 28, 2001 2:29 PM Subject: Using a target anchor and a query string together Hi. I'm having a problem with this in IE5. If my link looks like this: link.cfm#target it goes the a name="target" just fine. However, link.cfm#target? or link.cfm#target?cfid=123cftoken=567890 doesn't. It works fine in Netscape. Any way to make this wotk in IE5? -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Finding last record
I am inserting a record into one of my tables in MS Access. I want to then find the primary key(auto number) immediately after insertion. Is there an easy way to find it? Thanks, Chad ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Finding last record
you could have it Select only 1 RECORD and order by the Primary Key field and then you should get the last record that way. Bill Wheatley Director of Development Allaire Certified ColdFusion Developer AEPS INC Allaire ColdFusion Consulting Partner www.aeps.com www.aeps2000.com 954-472-6684 X303 ICQ: 417645 - Original Message - From: "Chad Elley" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, January 28, 2001 7:10 AM Subject: Finding last record I am inserting a record into one of my tables in MS Access. I want to then find the primary key(auto number) immediately after insertion. Is there an easy way to find it? Thanks, Chad ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Finding last record
And what would guarantee, that there was not another user, who just inserted another record? laszlo William J Wheatley wrote: you could have it Select only 1 RECORD and order by the Primary Key field and then you should get the last record that way. Bill Wheatley Director of Development Allaire Certified ColdFusion Developer AEPS INC Allaire ColdFusion Consulting Partner www.aeps.com www.aeps2000.com 954-472-6684 X303 ICQ: 417645 - Original Message - From: "Chad Elley" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, January 28, 2001 7:10 AM Subject: Finding last record I am inserting a record into one of my tables in MS Access. I want to then find the primary key(auto number) immediately after insertion. Is there an easy way to find it? Thanks, Chad ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Finding last record
I'm jumping into this thread late, so excuse me if this is way off base. We could use CFTRANSACTION to prevent other users from inserting another record. As the original had requested, this is not an uncommon way to do it: CFTRANSACTION CFQUERY Insert into table () values () /CFQUERY CFQUERY select tableID from table where values = values /CFQUERY /CFTRANSACTION The second query will contain the ID of the data we just entered. Laszlo Nadai wrote: And what would guarantee, that there was not another user, who just inserted another record? laszlo William J Wheatley wrote: you could have it Select only 1 RECORD and order by the Primary Key field and then you should get the last record that way. Bill Wheatley Director of Development Allaire Certified ColdFusion Developer AEPS INC Allaire ColdFusion Consulting Partner www.aeps.com www.aeps2000.com 954-472-6684 X303 ICQ: 417645 - Original Message - From: "Chad Elley" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, January 28, 2001 7:10 AM Subject: Finding last record I am inserting a record into one of my tables in MS Access. I want to then find the primary key(auto number) immediately after insertion. Is there an easy way to find it? Thanks, Chad ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFOBJECT problem
Looks like every time I make a change to my class (actually in a 'jar' file), I have to stop/restart the CF server in order to get the latest version. Is this a cache thing? Can it be set to 'automatic'? TIA, laszlo Deb Dickerson wrote: No need to uninstall/install for this problem. Just do the following: Run "regedit". Navigate to HKEY_LOCAL_MACHINE/SOFTWARE/Allaire/ColdFusion/CurrentVersion/JVM Double-click on JVMLoad and change the value from 1 to 0. Close the registry editor and now restart ColdFusion. At that point you'll be able to restart ColdFusion and then fix your JVM settings. It should be pointing to the jvm.dll file, not just a directory. For more info, here's a KB on the subject: http://www.allaire.com/Handlers/index.cfm?ID=13863Method=Full Debbie -Original Message- From: Laszlo Nadai [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 8:14 PM To: CF-Talk Subject: CFOBJECT problem Hi Gurus, I was trying to do some CFOBJECT stuff, but I cannot configure CFusion server. What am I supposed to put into the "JVM library path"? (It's NT4.) I was trying to do: c:\jdk1.2.2\bin\ because that's where I have java.exe After doing this, I couldn't eve start the server again... Uninstall, install again...:-((( Where are these settings stored? Any config file around? Am I missing something here (happened before :-) TIA, laszlo ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Finding last record
If the PK is an incrementing numeric value, your second query could be simplified with the max() function CFQUERY select Max(tableID) AS MaxTableID from table /CFQUERY You would call it as #Queryname.MaxTableID# Also, you can find a Custom Tag that does this automagically at www.fusebox.org -Cameron -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 28, 2001 8:10 PM To: CF-Talk Subject: Re: Finding last record I'm jumping into this thread late, so excuse me if this is way off base. We could use CFTRANSACTION to prevent other users from inserting another record. As the original had requested, this is not an uncommon way to do it: CFTRANSACTION CFQUERY Insert into table () values () /CFQUERY CFQUERY select tableID from table where values = values /CFQUERY /CFTRANSACTION The second query will contain the ID of the data we just entered. Laszlo Nadai wrote: And what would guarantee, that there was not another user, who just inserted another record? laszlo William J Wheatley wrote: you could have it Select only 1 RECORD and order by the Primary Key field and then you should get the last record that way. Bill Wheatley Director of Development Allaire Certified ColdFusion Developer AEPS INC Allaire ColdFusion Consulting Partner www.aeps.com www.aeps2000.com 954-472-6684 X303 ICQ: 417645 - Original Message - From: "Chad Elley" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, January 28, 2001 7:10 AM Subject: Finding last record I am inserting a record into one of my tables in MS Access. I want to then find the primary key(auto number) immediately after insertion. Is there an easy way to find it? Thanks, Chad ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: 255 character max in Access ???
WHERE article_text LIKE '%#criteria#%' ODBC datasource (about 2 years or so ago) you couldn't do this, and you definitely can't do it (directly) with SQL Server... maybe in the updates they got around this problem... or am I just over-tired? over-tired again. in sql server you can certainly use TEXT data-types in WHERE clauses, what would be the point in having TEXT data-types otherwise? they can't be used in GROUP BY, ORDER BY, HAVING, COMPUTE or DISTINCT (part of the SELECT statement). ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Finding last record
@@identity works in sql i do not know about access. -Original Message- From: Chad Elley [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 28, 2001 7:11 AM To: CF-Talk Subject: Finding last record I am inserting a record into one of my tables in MS Access. I want to then find the primary key(auto number) immediately after insertion. Is there an easy way to find it? Thanks, Chad ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFOBJECT problem
nope, this has been an ongoing battle with me as well. In the January issue of CDFJ, Ben Forta talks about using Java with CFOBJECT, and it failed to mention this small problem. I wrote to him, and he responded that Allaire is well aware of this (class files not unloading or reloading if a new one is available) and he says they're working on it, but don't expect to see a solution anytime soon. Joseph E. Sheble a.k.a. Wizaerd Wizaerd's Realm Canvas, 3D, Graphics, ColdFusion, PHP, and mySQL http://www.wizaerd.com = -Original Message- From: Laszlo Nadai [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 28, 2001 3:16 PM To: CF-Talk Subject: Re: CFOBJECT problem Looks like every time I make a change to my class (actually in a 'jar' file), I have to stop/restart the CF server in order to get the latest version. Is this a cache thing? Can it be set to 'automatic'? TIA, laszlo Deb Dickerson wrote: No need to uninstall/install for this problem. Just do the following: Run "regedit". Navigate to HKEY_LOCAL_MACHINE/SOFTWARE/Allaire/ColdFusion/CurrentVersion/JVM Double-click on JVMLoad and change the value from 1 to 0. Close the registry editor and now restart ColdFusion. At that point you'll be able to restart ColdFusion and then fix your JVM settings. It should be pointing to the jvm.dll file, not just a directory. For more info, here's a KB on the subject: http://www.allaire.com/Handlers/index.cfm?ID=13863Method=Full Debbie -Original Message- From: Laszlo Nadai [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 8:14 PM To: CF-Talk Subject: CFOBJECT problem Hi Gurus, I was trying to do some CFOBJECT stuff, but I cannot configure CFusion server. What am I supposed to put into the "JVM library path"? (It's NT4.) I was trying to do: c:\jdk1.2.2\bin\ because that's where I have java.exe After doing this, I couldn't eve start the server again... Uninstall, install again...:-((( Where are these settings stored? Any config file around? Am I missing something here (happened before :-) TIA, laszlo ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CFLOCKS ??? (Nesting)
Hi All, It has been recomended to cflock all Application and Session variables to avoid Deadlocking, Session cross overs etc. There is a utlility "Full Checking" in variables of CF admin you can turn on for testing purposes. When you have complicated Application files nesting over Session and Application varibles, how would one cflock such a situation?. I wish there was more documentation in CFLocks. Appretiate all help. Thanks Joe ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFOBJECT problem
Hi Joe, Thanks for your reply. but don't expect to see a solution anytime soon. That can be a pain, especially when one has a CF Hosting provider (like I do). I cannot ask them to shut down everybody, because I have a change... How am I going to deal with this? laszlo "Joe Sheble (Wizaerd)" wrote: nope, this has been an ongoing battle with me as well. In the January issue of CDFJ, Ben Forta talks about using Java with CFOBJECT, and it failed to mention this small problem. I wrote to him, and he responded that Allaire is well aware of this (class files not unloading or reloading if a new one is available) and he says they're working on it, but don't expect to see a solution anytime soon. Joseph E. Sheble a.k.a. Wizaerd Wizaerd's Realm Canvas, 3D, Graphics, ColdFusion, PHP, and mySQL http://www.wizaerd.com = -Original Message- From: Laszlo Nadai [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 28, 2001 3:16 PM To: CF-Talk Subject: Re: CFOBJECT problem Looks like every time I make a change to my class (actually in a 'jar' file), I have to stop/restart the CF server in order to get the latest version. Is this a cache thing? Can it be set to 'automatic'? TIA, laszlo Deb Dickerson wrote: No need to uninstall/install for this problem. Just do the following: Run "regedit". Navigate to HKEY_LOCAL_MACHINE/SOFTWARE/Allaire/ColdFusion/CurrentVersion/JVM Double-click on JVMLoad and change the value from 1 to 0. Close the registry editor and now restart ColdFusion. At that point you'll be able to restart ColdFusion and then fix your JVM settings. It should be pointing to the jvm.dll file, not just a directory. For more info, here's a KB on the subject: http://www.allaire.com/Handlers/index.cfm?ID=13863Method=Full Debbie -Original Message- From: Laszlo Nadai [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 8:14 PM To: CF-Talk Subject: CFOBJECT problem Hi Gurus, I was trying to do some CFOBJECT stuff, but I cannot configure CFusion server. What am I supposed to put into the "JVM library path"? (It's NT4.) I was trying to do: c:\jdk1.2.2\bin\ because that's where I have java.exe After doing this, I couldn't eve start the server again... Uninstall, install again...:-((( Where are these settings stored? Any config file around? Am I missing something here (happened before :-) TIA, laszlo ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Uploading Files!!
I was wondering if they was a way to create a "status bar" functionality via cold fusion to show how much of the file has been uploaded and display it on a pop up window and refresh it every few seconds.. any comments or suggestion would be most welcome.:) Thanks in advance Joel ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: stop reposting of form data
Fusebox does do that... You simply make the form action piont to an action fuse, (act_xxx_post or something) and then cfinclude the action template and then cflocation to a success page or anywhere else.. -Original Message- From: Peter Theobald [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 20, 2001 1:35 AM To: CF-Talk Subject: Re: stop reposting of form data I think this is how Fusebox gets around the problem of having all requests go to the same page (index.cfm) (dont quote me on that... I dont know much about Fusebox...) But the problem with this is you are causing another round-trip from the client to server and back again. Does anyone have a method that DOESN'T cause this delay? At 02:17 AM 11/19/00 -0600, Phoeun Pha wrote: this is how i handle my stuff. let's say we have 2 templates. First template has the form fields and stuff. template 2 sends the information to a database and also displays a "Thank You!" message. if the user were to click "Refresh",the information could be entered twice, thats bad! The solution is to have 3 templates. First template has the form fields. The second template does the dirty work, ya know, inserting stuff into database. At the end of that template, do a CFLOCATION to template 3, which says 'Thanx man, you've made me richer!". Now, if the user refreshes, they get the same message, but no form data is reposted. cool eh? Considerations: if u need to display some data from the form variables on that last page, like "Thank you, [Name], yo've made me richer!" , i say do a CFlocation (ex. url="thanxpage.cfm?name="Form.name") in the middle template with URL variables and display them on the third page. hope this helps! - Original Message - From: Mike Grey [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 12:41 PM Subject: stop reposting of form data What method is used to stop data from being reposted when a user attemps to reload an action page. Thanks Mike Grey ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
array index position 0 or 1
hi, I've encountered this problem, how can i tell an index in an array of WDDX packet wheather it is start from 0 or 1? i generated a WDDX packet with array value using javascript and i also generated WDDX packet with array values using CF, array for javascript will start with index 0 and array for CF will start with 1, how can i check if the array index is 0 or 1? any ideas? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Strings without spaces
Pardon the entry-level question, but how can I take a string and evaluate whether or not it has a space anywhere in the middle of it? In other words, my only acceptable string would be one "word" - without spaces. Thanks, Les ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Login Failed for User CFADMIN
Has anyone periodically gotten the error "login failed for user CFADMIN" when trying to access templates? It only happens occasionly, but is still a pain. I assume it has something to do with the datasource? Login limits problem? --- Regards, Darryl Lyons Web Development Team LogicWorld Internet Email : [EMAIL PROTECTED] Web : www.logicworld.com.au Team Site : webdevelopment.logicworld.com.au Phone : (07) 3230 8800 Fax : (07) 2320 8801 Technical Support : (07) 3230 8811 ' P L U G I N T O T H E W O R L D ' ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Multi-language Content Management
Yeah, I've pretty much being going down the same path. I've got multi-language storage happening quite well. A note though, make sure you attach language attrib to your page, that way you can specify the char set to use for the page, therefore making sure the user loads the correct charset. Now, searching it all is going to be interesting :) -Original Message- From: Russel Madere [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 12:17 AM To: CF-Talk Subject: RE: Multi-language Content Management I have been considering this myself. What I may implement is storing all of the web text in a database table for each language (CF doesn't support unicode right now) and use a URL variable to determine which language to retrieve from the database and then server the page using CF. I haven't gotten much beyond the concept stage, but any meb content management system should be able to be modified for this purpose. Russel Russel Madere, Jr. Senior Web Developer ICQ: 5446158 http://www.TurboSquid.com Some days you eat the bear; some days the bear eats you. -Original Message- From: Darryl Lyons [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 18:05 To: CF-Talk Subject: Multi-language Content Management Has anybody developed an architecture or worked out a multi-language content Management system in CF. I guess the main question is regarding the display of numerous languages within the same 'site' or even the same 'page'. I've basically worked out that English and Japanese or Chinese on the same page won't affect the display, but chinese and japanese on the same page looks to be pretty hard. (All of the data is kept in the database btw). Any ideas or suggestions? --- Regards, Darryl Lyons Web Development Team LogicWorld Internet Email : [EMAIL PROTECTED] Web : www.logicworld.com.au Team Site : webdevelopment.logicworld.com.au Phone : (07) 3230 8800 Fax : (07) 2320 8801 Technical Support : (07) 3230 8811 ' P L U G I N T O T H E W O R L D ' ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Strings without spaces
cfif Find("", somestring) gt 0 something /cfif HTH, Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. www.CoolFusion.com 631-737-4668 x101 inFusion Mail Server (iMS) - the World's most configurable mail server Get your free copy of iMS POST-SE Server from CoolFusion! - Original Message - From: "Les Irvin" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, January 28, 2001 7:57 PM Subject: Strings without spaces Pardon the entry-level question, but how can I take a string and evaluate whether or not it has a space anywhere in the middle of it? In other words, my only acceptable string would be one "word" - without spaces. Thanks, Les ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Web Chat using CF?
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --_=_NextPart_001_01C08992.D7408AF0 Content-Type: text/plain; charset="iso-8859-1" Dear all I am looking for a 'web chat' facility which I can use on our web page such that people can contact us via our web page and chat with a rep rather than phoning. I know that one could do this with M$ Net Meeting but I would like to use CF or a java applet perhaps that doesnt require you to have Net Meeting installed. Is anyone aware of a CF based approach to this?? Regards Phil Palmer --_=_NextPart_001_01C08992.D7408AF0 Content-Type: text/html; charset="iso-8859-1" !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" HTMLHEAD META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1" META content="MSHTML 5.00.2314.1000" name=GENERATOR/HEAD BODY DIVFONT face=Arial size=2SPAN class=862372201-29012001Dear all/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001/SPAN/FONTnbsp;/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001I am looking for a 'web chat' facility which I can use on our web page/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001such that people can contact us via our web page and chat with a rep/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001rather than phoning.nbsp; I know that one could do this with M$ Net Meeting/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001but I would like to use CF or a java applet perhaps that doesnt require/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001you to have Net Meeting installed./SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001/SPAN/FONTnbsp;/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001Is anyone aware of a CF based approach to this??/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001/SPAN/FONTnbsp;/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001Regards/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001/SPAN/FONTnbsp;/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001Phil Palmer/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001/SPAN/FONTnbsp;/DIV/BODY/HTML --_=_NextPart_001_01C08992.D7408AF0-- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFLOCKS ??? (Nesting)
There's lots of documentation on nesting locks and locking best practices (albeit not allways overly clear). http://www.allaire.com/handlers/index.cfm?ID=17318Method=Full http://www.allaire.com/handlers/index.cfm?ID=17196Method=Full http://www.allaire.com/cfdocs/Developing_Web_Applications_with_ColdFusion/12 _Using_the_Application_Framework/dwa12_14.htm http://www.allaire.com/cfdocs/CFML_Language_Reference/2_ColdFusion_Tags/lr2_ 058.htm http://www.allaire.com/cfdocs/Administering_ColdFusion_Server/03_Configuring _ColdFusion_Server/admin0312.htm If you have a specific situation that's you're not sure of the logic, post it and I'm sure the group can answer it. -Original Message- From: Joseph Eugene [mailto:[EMAIL PROTECTED]] Sent: January 28, 2001 18:10 To: CF-Talk Subject: CFLOCKS ??? (Nesting) Hi All, It has been recomended to cflock all Application and Session variables to avoid Deadlocking, Session cross overs etc. There is a utlility "Full Checking" in variables of CF admin you can turn on for testing purposes. When you have complicated Application files nesting over Session and Application varibles, how would one cflock such a situation?. I wish there was more documentation in CFLocks. Appretiate all help. Thanks Joe ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Web Chat using CF?
For this type of interaction a java applet is the best way to go. CF is server side parser, to use it as a chat interface would require constant posting and reloading of a page... not exactly ideal. There are a whole bunch of commercial 'live rep' chat applets available and some free ones as well. http://www.humanclick.com/ -- Popular one (though I'm not overly fond of it myself) I can't find my other bookmarks for it, but a few searches should yield some good results. For some nice GPLed ones check on SourceForge. Which you go w/ will obviously be affected by your features wanted, chosen platform (for server side component if not run in jvm), db interface, etc. As a note: I'd remove any thought of using NetMeeting or anything else platform specific; as well as the customer actually having to have it (and the OS to run it), know they have it, open it up, and enter in the ip. -Original Message- From: Phil Palmer [mailto:[EMAIL PROTECTED]] Sent: January 28, 2001 20:29 To: CF-Talk Subject: Web Chat using CF? This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --_=_NextPart_001_01C08992.D7408AF0 Content-Type: text/plain; charset="iso-8859-1" Dear all I am looking for a 'web chat' facility which I can use on our web page such that people can contact us via our web page and chat with a rep rather than phoning. I know that one could do this with M$ Net Meeting but I would like to use CF or a java applet perhaps that doesnt require you to have Net Meeting installed. Is anyone aware of a CF based approach to this?? Regards Phil Palmer --_=_NextPart_001_01C08992.D7408AF0 Content-Type: text/html; charset="iso-8859-1" !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" HTMLHEAD META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1" META content="MSHTML 5.00.2314.1000" name=GENERATOR/HEAD BODY DIVFONT face=Arial size=2SPAN class=862372201-29012001Dear all/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001/SPAN/FONTnbsp;/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001I am looking for a 'web chat' facility which I can use on our web page/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001such that people can contact us via our web page and chat with a rep/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001rather than phoning.nbsp; I know that one could do this with M$ Net Meeting/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001but I would like to use CF or a java applet perhaps that doesnt require/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001you to have Net Meeting installed./SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001/SPAN/FONTnbsp;/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001Is anyone aware of a CF based approach to this??/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001/SPAN/FONTnbsp;/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001Regards/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001/SPAN/FONTnbsp;/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001Phil Palmer/SPAN/FONT/DIV DIVFONT face=Arial size=2SPAN class=862372201-29012001/SPAN/FONTnbsp;/DIV/BODY/HTML --_=_NextPart_001_01C08992.D7408AF0-- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Politics RULE - GRRRRRRR
Guys, I have a political problem here and I'm looking for ammunition. I want to head off this problem before it causes me damage I share a site with a competitor who is doing a lot of ASP work on my client's site. I do a whole lot of ColdFusion work and we're supposed to be working together. For 15 months we've had no problem. We've kept the two parts of the site separate and they don't get in each other's way except to share some processor time, disk space (I keep all the CF stuff in my own folders away from their work) and SQL Server processing time. (I have my own databases in SQL so they don't get in the way either). Suddenly, the ASP developer is under pressure for non-performing work - unless he does something dramatic, he's about to lose his contract, and is looking for a way to dump the blame on me. (My client doesn't think he's done much of a job at all, but he's had the lion's share of the dollars so far so he has to at least pause to listen to what he's told.) The ASP Developer's strategy is to whine that their development server isn't an exact copy of the live server. (It hasn't been for 15 months - they didn't even realise there was cold fusion on the live server.) So they want me to put all my ColdFusion templates on their development server instead of the live server and they'll load them onto the live server for me. (Ahh!! how nice of them!) They're saying that this will enable them to verify that my templates aren't going to impact negatively on their work or cause undue cycles on the processor, or hinder the SQL server handling their calls. They want to put (get this!!) Front Page extensions on their development server, so it can handle the deployment of my ColdFusion work up onto the live site. A little about my work for this site ... its predominantly built using ASP, which builds flat files from the SQL Database once a day. So the site has 1500 or so flat files, plus another few hundred pages drawn as pay-per-view pages from the SQL Server. My ColdFusion work is a whole series of small stand-alone applications, consisting mostly of SELECTS and display tables from small tables. They have no session variables, application variables etc except for an admin area to update the tables that might be used by one person for a day or two a month. In terms of page views, the ColdFusion would amount to a maximum of 20% of the overall traffic. I build on my local machine, test using a duplicate of the SQL Datasource, then deploy data and templates to the live server. What I need is reasons why the ASP Developer ought not to have my templates on his server first. I know the REAL reason is so he can chip away at my credibility by picking fault with my work, but of course that's not how it's going to be presented to the client. I don't want a competitor approving my work before it gets deployed. Cheers, Mike Kear AFP WebWorks, Windsor, NSW, Australia ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
loop and # sign as a part of form object
Basic problem ... please help guys ! cfloop index="x" from=1 to=10 cfoutput#form.qty'#x#'# /cfoutput /cfloop what's wrong with this .. I can't make it work.. I have a form which has form objects named qty1 to qty10 and I want to display it in the loop and play with that. Help .. Thanks ! ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Web Chat using CF?
FuseTalk does this. www.e-zonemedia.com Regards, Howie - Original Message - From: "Phil Palmer" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, January 28, 2001 8:28 PM Subject: Web Chat using CF? Dear all I am looking for a 'web chat' facility which I can use on our web page such that people can contact us via our web page and chat with a rep rather than phoning. I know that one could do this with M$ Net Meeting but I would like to use CF or a java applet perhaps that doesnt require you to have Net Meeting installed. Is anyone aware of a CF based approach to this?? Regards Phil Palmer ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: loop and # sign as a part of form object
cfloop index="x" from=1 to=10 cfoutput#form.qty# #x#/cfoutput /cfloop -Original Message- From: Roozbeh Hashemiha [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 28, 2001 9:53 PM To: CF-Talk Subject: loop and # sign as a part of form object Basic problem ... please help guys ! cfloop index="x" from=1 to=10 cfoutput#form.qty'#x#'# /cfoutput /cfloop what's wrong with this .. I can't make it work.. I have a form which has form objects named qty1 to qty10 and I want to display it in the loop and play with that. Help .. Thanks ! ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: loop and # sign as a part of form object
cfloop index="x" from=1 to=10 cfoutput#form.qty##x#/cfoutput /cfloop Try that. -Original Message- From: Roozbeh Hashemiha [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 28, 2001 9:53 PM To: CF-Talk Subject: loop and # sign as a part of form object Basic problem ... please help guys ! cfloop index="x" from=1 to=10 cfoutput#form.qty'#x#'# /cfoutput /cfloop what's wrong with this .. I can't make it work.. I have a form which has form objects named qty1 to qty10 and I want to display it in the loop and play with that. Help .. Thanks ! ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: loop and # sign as a part of form object
You have to wrap your output with an Evaluate(), so your code should be something like: cfloop index="x" from=1 to=10 cfoutput#Evaluate(form.qty#x#)#/cfoutput /cfloop See if that works for ya Hatton Humphrey -Original Message- From: Roozbeh Hashemiha [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 28, 2001 9:53 PM To: CF-Talk Subject: loop and # sign as a part of form object Basic problem ... please help guys ! cfloop index="x" from=1 to=10 cfoutput#form.qty'#x#'# /cfoutput /cfloop what's wrong with this .. I can't make it work.. I have a form which has form objects named qty1 to qty10 and I want to display it in the loop and play with that. Help .. Thanks ! ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: loop and # sign as a part of form object
Use #evaluate("form.qty" x)# Allan Pichler -Original Message- From: Roozbeh Hashemiha [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 28, 2001 6:53 PM To: CF-Talk Subject: loop and # sign as a part of form object Basic problem ... please help guys ! cfloop index="x" from=1 to=10 cfoutput#form.qty'#x#'# /cfoutput /cfloop what's wrong with this .. I can't make it work.. I have a form which has form objects named qty1 to qty10 and I want to display it in the loop and play with that. Help .. Thanks ! ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Politics RULE - GRRRRRRR
Well if this were the company that employed you asking this, then it would be up to you todo what they wanted, but since techincally this is a competitor and they could easily mess around with your coding, not saying they will, but they could. I would be totally against this, it's politics and they can't prove anything. If anything all I would allow is for them to use a copy of your code, which they can since they have access, and test it on thier live server. Then they can come to you with anything they find. I think they just want you to be a cop out and make your life difficult, best to never let your guard down. Bob Everland -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 28, 2001 9:47 PM To: CF-Talk Subject: Politics RULE - GRRR Guys, I have a political problem here and I'm looking for ammunition. I want to head off this problem before it causes me damage I share a site with a competitor who is doing a lot of ASP work on my client's site. I do a whole lot of ColdFusion work and we're supposed to be working together. For 15 months we've had no problem. We've kept the two parts of the site separate and they don't get in each other's way except to share some processor time, disk space (I keep all the CF stuff in my own folders away from their work) and SQL Server processing time. (I have my own databases in SQL so they don't get in the way either). Suddenly, the ASP developer is under pressure for non-performing work - unless he does something dramatic, he's about to lose his contract, and is looking for a way to dump the blame on me. (My client doesn't think he's done much of a job at all, but he's had the lion's share of the dollars so far so he has to at least pause to listen to what he's told.) The ASP Developer's strategy is to whine that their development server isn't an exact copy of the live server. (It hasn't been for 15 months - they didn't even realise there was cold fusion on the live server.) So they want me to put all my ColdFusion templates on their development server instead of the live server and they'll load them onto the live server for me. (Ahh!! how nice of them!) They're saying that this will enable them to verify that my templates aren't going to impact negatively on their work or cause undue cycles on the processor, or hinder the SQL server handling their calls. They want to put (get this!!) Front Page extensions on their development server, so it can handle the deployment of my ColdFusion work up onto the live site. A little about my work for this site ... its predominantly built using ASP, which builds flat files from the SQL Database once a day. So the site has 1500 or so flat files, plus another few hundred pages drawn as pay-per-view pages from the SQL Server. My ColdFusion work is a whole series of small stand-alone applications, consisting mostly of SELECTS and display tables from small tables. They have no session variables, application variables etc except for an admin area to update the tables that might be used by one person for a day or two a month. In terms of page views, the ColdFusion would amount to a maximum of 20% of the overall traffic. I build on my local machine, test using a duplicate of the SQL Datasource, then deploy data and templates to the live server. What I need is reasons why the ASP Developer ought not to have my templates on his server first. I know the REAL reason is so he can chip away at my credibility by picking fault with my work, but of course that's not how it's going to be presented to the client. I don't want a competitor approving my work before it gets deployed. Cheers, Mike Kear AFP WebWorks, Windsor, NSW, Australia ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
problem with scheduled task
Hi All, I had set up a scheduled task indexing a verity collection once every day. It was working fine - even when the mapped IP addresses were changed so that the public intranet cd not be accessed temporarily. After that the IP address was changed again; and making the change in the scheduled task did not result in the indexing of the verity collection even though the scheduler log indicates that the task was completed succesfully. Any ideas wd be much appreciated. Thanks and regards wl Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: loop and # sign as a part of form object
WOW, some wild and whacky answers to this one!! You do use evaluate() here, but evaluate() takes a string argument: cfloop index="x" from=1 to=10 cfoutput#evaluate(form.qty x)#/cfoutput /cfloop Best of luck, Lee (Bjork) Borkman http://bjork.net ColdFusion Tags by Bjork -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] cfloop index="x" from=1 to=10 cfoutput#Evaluate(form.qty#x#)#/cfoutput /cfloop -Original Message- From: Roozbeh Hashemiha [mailto:[EMAIL PROTECTED]] cfloop index="x" from=1 to=10 cfoutput#form.qty'#x#'# /cfoutput /cfloop what's wrong with this ... I have a form which has form objects named qty1 to qty10... IMPORTANT NOTICE: This e-mail and any attachment to it is intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. If you receive this e-mail in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. The RTA is not responsible for any unauthorised alterations to this e-mail or attachment to it. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Politics RULE - GRRRRRRR
Just a thought on this topic, but what would be wrong with encryping the code that you give to the ASP developer so they can't mess with things? This would also mean you'd have to encrypt the copy you have on the live server. I've used custom tags that are encrypted and they function as advertised, so it may be a possible solution. Hatton Humphrey -Original Message- From: Robert Everland III [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 28, 2001 10:07 PM To: CF-Talk Subject: RE: Politics RULE - GRRR Well if this were the company that employed you asking this, then it would be up to you todo what they wanted, but since techincally this is a competitor and they could easily mess around with your coding, not saying they will, but they could. I would be totally against this, it's politics and they can't prove anything. If anything all I would allow is for them to use a copy of your code, which they can since they have access, and test it on thier live server. Then they can come to you with anything they find. I think they just want you to be a cop out and make your life difficult, best to never let your guard down. Bob Everland -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 28, 2001 9:47 PM To: CF-Talk Subject: Politics RULE - GRRR Guys, I have a political problem here and I'm looking for ammunition. I want to head off this problem before it causes me damage I share a site with a competitor who is doing a lot of ASP work on my client's site. I do a whole lot of ColdFusion work and we're supposed to be working together. For 15 months we've had no problem. We've kept the two parts of the site separate and they don't get in each other's way except to share some processor time, disk space (I keep all the CF stuff in my own folders away from their work) and SQL Server processing time. (I have my own databases in SQL so they don't get in the way either). Suddenly, the ASP developer is under pressure for non-performing work - unless he does something dramatic, he's about to lose his contract, and is looking for a way to dump the blame on me. (My client doesn't think he's done much of a job at all, but he's had the lion's share of the dollars so far so he has to at least pause to listen to what he's told.) The ASP Developer's strategy is to whine that their development server isn't an exact copy of the live server. (It hasn't been for 15 months - they didn't even realise there was cold fusion on the live server.) So they want me to put all my ColdFusion templates on their development server instead of the live server and they'll load them onto the live server for me. (Ahh!! how nice of them!) They're saying that this will enable them to verify that my templates aren't going to impact negatively on their work or cause undue cycles on the processor, or hinder the SQL server handling their calls. They want to put (get this!!) Front Page extensions on their development server, so it can handle the deployment of my ColdFusion work up onto the live site. A little about my work for this site ... its predominantly built using ASP, which builds flat files from the SQL Database once a day. So the site has 1500 or so flat files, plus another few hundred pages drawn as pay-per-view pages from the SQL Server. My ColdFusion work is a whole series of small stand-alone applications, consisting mostly of SELECTS and display tables from small tables. They have no session variables, application variables etc except for an admin area to update the tables that might be used by one person for a day or two a month. In terms of page views, the ColdFusion would amount to a maximum of 20% of the overall traffic. I build on my local machine, test using a duplicate of the SQL Datasource, then deploy data and templates to the live server. What I need is reasons why the ASP Developer ought not to have my templates on his server first. I know the REAL reason is so he can chip away at my credibility by picking fault with my work, but of course that's not how it's going to be presented to the client. I don't want a competitor approving my work before it gets deployed. Cheers, Mike Kear AFP WebWorks, Windsor, NSW, Australia ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
WHOOPS!! (RE: loop and # sign as a part of form object)
How embarrassing!! That should have read: You do use evaluate() here, but evaluate() takes a string argument: cfloop index="x" from=1 to=10 cfoutput#evaluate("form.qty" x)#/cfoutput /cfloop -Original Message- From: BORKMAN Lee [mailto:[EMAIL PROTECTED]] WOW, some wild and whacky answers to this one!! You do use evaluate() here, but evaluate() takes a string argument: cfloop index="x" from=1 to=10 cfoutput#evaluate(form.qty x)#/cfoutput /cfloop IMPORTANT NOTICE: This e-mail and any attachment to it is intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. If you receive this e-mail in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. The RTA is not responsible for any unauthorised alterations to this e-mail or attachment to it. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Politics RULE - GRRRRRRR
Also throw in that they would have to buy another $5,000 copy of cold fusion for the development machine, and it would just be cheaper to buy another server - one for cold fusion (move cold fusion off the other server onto the new one), one for asp and to let you run the cold fusion server. At 10:07 PM 1/28/2001 -0500, you wrote: Well if this were the company that employed you asking this, then it would be up to you todo what they wanted, but since techincally this is a competitor and they could easily mess around with your coding, not saying they will, but they could. I would be totally against this, it's politics and they can't prove anything. If anything all I would allow is for them to use a copy of your code, which they can since they have access, and test it on thier live server. Then they can come to you with anything they find. I think they just want you to be a cop out and make your life difficult, best to never let your guard down. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
content type for voicexml
Please let me know what content type to be used for vocieXML templates (using CF). Also is it necessary to add that MIME type in the web server? Thanks for your help. Navaneethan __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Politics RULE grrrrrrrrrrr
Hi there, Wow, that is a problem. I sort of had something similar happen to me a while ago (vaguely similiar, nothing that concrete) but the solution in my case, was to get support behind me, in my case, the board. If you have the board (of directors, executives, whatever they're called in your company) you don't have to worry about a thing. If your boss knows that this guy isn't doing his job and knows that he's trying to snub you out, then you and your boss should be doing something about that. Now, some may say that this is a no no (and you'll have to forgive me if I am blunt and misdirected in my idea) BUT why not confront this guy. If he isn't doing what he was hired to do, point this out and when that's done, if this is a problem that has persisted for some time, point out that he's had 15 months to correct it and done nothing. (Now what I need is for some politically savvy person to put this in political phrasing hehehe). I guess the thing is, if you're going along just fine, staying under everyones radar, doing a good job, people like you etc...there is no reason you can't stand up for yourself and point out that this guy is trying to screw you over. I'll describe my situation that I've had (still do really), I just wanted to get a decent solution out first instead of boring you all with my story first :) Basically there is this female staff member who wants my job because she thinks that she can do a better job at it, and for that matter, give the work to her friends. Now, I've been hard at work on this website for 3 years and we're finally going to make the jump into the whole dynamic site era (yay for cf and me) Unfortunately, because we had a new president, this staff member tried to screw with me and become the rogue link in the chain of command. So I ended up getting a phone call from her 1 day about how the new president wants to take the whole site down, put up an under construction sign and then wait for further instructions. Turns out she wasn't as smart as she thought she was, I gave the presidents secratary a call and I told her what happened, well gosh, no instructions like that ever came from the president, or anyone, so take a guess at who go in trouble. The female staff member. She didn't get fired (tho I would have if it was me) but as a result a few months later, I pretty much had the entire Board of Directors behind me (still do) and this staff member hasn't messed with me since. Of course, she refuses to publish the website url in the staff newspaper, or anything web related but that's how she thinks she's getting back at me. Point is, one phone call to the right person and the situation was dealt with. I would be standing up for yourself. you don't need to defend WHY you're applications should be on somebody elses server. That is their job and if you can prove otherwise, it just makes them look bad. You already have an enemy, the ASP guys :) Mark Smeets/stranger0/ICQ #1062196 "Mr. West, not every situation requires your patented approach of shoot first, shoot later, shoot some more and then when everybody's dead try to ask a question or two" - Wild Wild West A Stranger's Domain (Redesigned and New) http://24.113.34.178/stranger Official Splitting Adam Homepage http://www.splittingadam.com/ Over the Wall Productions and Web Designs http://www.solarcourt.com/ _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists