cfdocument putting part of the row on the bottom of page 1 and the other on the top of page 2. Please help!

2009-03-04 Thread cf coder
Hello everybody, I'm new to cfdocument. I'm using it to create pdf documents from data returned by a query with ColdFusion8. The problem is that cfdocument is putting part of the data contained in the table row at the bottom of page 1 and the other on the top of page 2. I know that there is

Re: Calling GetPageContext within a CFC

2009-02-05 Thread cf coder
Can someone please suggest what should I be doing to call the getPageContext method and display the image and the rest of the page from within the CFC? Hello everybody, I have a cfm template which I refer to in the img src tag (img src=OutputImage.cfm border=1 /) . It outputs the image

Calling GetPageContext() within a CFC

2009-02-03 Thread cf coder
Hello everybody, I have a cfm template which I refer to in the img src tag (img src=OutputImage.cfm border=1 /) . It outputs the image correctly and as I would expect it to. Here is the code: OutputImage.cfm cfscript Context = getPageContext(); Context.setFlushOutput(false);

Calling GetPageContext() within a CFC

2009-02-03 Thread cf coder
Hello everybody, I have a cfm template which I refer to in the img src tag (img src=OutputImage.cfm border=1 /) . It outputs the image correctly and as I would expect it to. Here is the code: OutputImage.cfm cfscript Context = getPageContext(); Context.setFlushOutput(false);

Calling GetPageContext within a CFC

2009-02-03 Thread cf coder
Hello everybody, I have a cfm template which I refer to in the img src tag (img src=OutputImage.cfm border=1 /) . It outputs the image correctly and as I would expect it to. Here is the code: OutputImage.cfm cfscript Context = getPageContext(); Context.setFlushOutput(false);

Re: help with using CFCProxy.

2009-01-27 Thread cf coder
Thank you guys for your help. I'll let you know if I face any problems getting it to work with an enterprise license. Regards, John Yeah, you need enterprise to use CFCProxy. I thought they were meant to fix this in 8, under the whole 'Standard is the same as Enterprise, just with limitations'

Re: Application.cfc error

2009-01-23 Thread cf coder
Hi Laura, I'm getting this same error. Did you manage to fix this error? Do you remember what the problem was and if so can you kindly share it with me? Regards, John I'm getting an odd error when I try to use Application.cfc instead of Application.cfm. I get the following error: 500

Re: help with using CFCProxy.

2009-01-23 Thread cf coder
Do I need the enterprise edition of ColdFusion to use CFCProxy? I'm getting the following error when I instantiate the CFCProxy object: java.lang.NoClassDefFoundError: coldfusion/license/LicenseManager$LicenseIllegalAccessException This is where the error occurs CFCProxy myCFC = new

Can't invoke servlet with ColdFusion8!

2009-01-22 Thread cf coder
Hello everybody, I took java Hello World example from this site: http://www.caucho.com/resin-3.0/servlet/tutorial/helloworld/index.xtp I complied it into a class file and copied it to the ColdFusion8\wwwroot\WEB-INF\classes directory. I added the following to the web.xml file

Re: Can't invoke servlet with ColdFusion8!

2009-01-22 Thread cf coder
When I try to browse the servlet like this: http://127.0.0.1:8501/hello I get the following error: 500 java.lang.NullPointerException at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:285) at

help with using CFCProxy.

2009-01-21 Thread cf coder
Hello everybody, I want to call ColdFusion objects from a Java class. I found this docucmentation by Ben Forta on CFCProxy: http://www.forta.com/misc/cfcproxy.htm I have a my CFC (see below) that has an init function which initialies all the objects? cfcomponent name=javacall

Re: 500 Event Handler Exception error when I try to create a java object

2009-01-16 Thread cf coder
is sufficient or if there is something else to do on top of that? Kindly help! Regards, John 500 Event Handler Exception. That's all it says. I've turned on debugging but it doesn't display any debugging information either. On Thursday 15 Jan 2009, cf coder wrote: This is when it throws

Re: 500 Event Handler Exception error when I try to create a java object

2009-01-16 Thread cf coder
is sufficient or if there is something else to do on top of that? Kindly help! Regards, John 500 Event Handler Exception. That's all it says. I've turned on debugging but it doesn't display any debugging information either. On Thursday 15 Jan 2009, cf coder wrote: This is when it throws

500 Event Handler Exception error when I try to create a java object

2009-01-15 Thread cf coder
Hello everybody, I have used the Employee.java example on the adobe livedocs (http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Java_7.html). Pleae Scroll down to the section titled Creating and using a simple Java class. I am running ColdFusion 7 server installation, developer

Re: 500 Event Handler Exception error when I try to create a java object

2009-01-15 Thread cf coder
This is how I am trying to create the object. cfset objEmp = createObject(java,Employee) / cfdump var=#objEmp# This is when it throws the exception. Hello everybody, I have used the Employee.java example on the adobe livedocs (http://livedocs.adobe.com/coldfusion/8/htmldocs/help.

Re: FreeTTS API implementation doesn't work in ColdFusion7

2009-01-15 Thread cf coder
Hi Isaac, Thanks for your reply. I actually found this little helloworld freeTTS example online: http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Sound;action=display;num=1204335245 I want to write a simple HelloWorld example in ColdFusion. I've got all the jar files I need.

Re: 500 Event Handler Exception error when I try to create a java object

2009-01-15 Thread cf coder
500 Event Handler Exception. That's all it says. I've turned on debugging but it doesn't display any debugging information either. On Thursday 15 Jan 2009, cf coder wrote: This is when it throws the exception. What exception ? -- Tom Chiverton Helping to appropriately transform

Re: Using JCaptcha and FreeTTS to embed captcha and audio for the visually impaired

2009-01-13 Thread cf coder
We have decided to use a differnt API for the captcha. Regarding the speech, FreeTTS is the API that we want to use. I have been looking at this example which shows how to call it in ColdFusion (Please look at the second example titled: FreeTTS CFC):

FreeTTS API implementation doesn't work in ColdFusion7

2009-01-13 Thread cf coder
Hello everybody, I want to use the FreeTTS API to allow people with disabilies to have a better experience. I have been looking at this example which shows how to call it in ColdFusion (Please look at the second example titled: FreeTTS CFC): http://www.cfide.org/Text_to_Speech_Example_page.cfm

Using JCaptcha and FreeTTS to embed captcha and audio for the visually impaired

2009-01-12 Thread cf coder
Hi everybody, I am hoping someone could provide me with some help in implementing this on my application. I am running ColdFusion 7 on a Windows Server. I have been asked to display a image and audio captcha in my form. I've visited both the JCpatcha )http://jcaptcha.sourceforge.net/) and

Re: Using JCaptcha and FreeTTS to embed captcha and audio for the visually impaired

2009-01-12 Thread cf coder
Hi Sam, Thank you for your post. I have copied the files FreeTTS.jar file to my standalone ColdFusion installation folder: C:\CFusionMX7\lib\freetts.jar. I restarted ColdFusion and the jar file is now showing up in the class-path which is good. I can dump the methods in the FreeTTS class like

SQL help..

2008-10-29 Thread cf coder
Hello there, I do appreciate this isn't the right forum for posting this question but I have posted my question in the SQL forum but I haven't heard anything back. It's a very straightforward query... at least I hope it is for someone with good sql skills. I was hoping someone could help

Re: SQL help..

2008-10-29 Thread cf coder
I'm really greatful to you for the post. Just answered this on the SQL list: http://www.houseoffusion.com/groups/sql/thread.cfm/threadid:855 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date

ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread cf coder
Hello everybody, I need your help with regular expressions. I want to loop through a directory in my codebase and return a list of href tags. The href value for ex must be in this format. #request.udf.geturl(NUMERIC VALUE,STRING)# a href=#request.udf.geturl(111,pagename)# class=btn

Re: ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread cf coder
Is someone willing to help me with my problem? I would very much appreciate your help. Regards, J Hello everybody, I need your help with regular expressions. I want to loop through a directory in my codebase and return a list of href tags. The href value for ex must be in this format.

Re: ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread cf coder
Hi Will, I sincerely apologise to you and to anyone else who got the impression that I was someone who jsut wanted a quick solution. I began working on this yesterday evening, I have spent all of today trying out different things but have not had any luck yet. This is what I've managed so

Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-03-03 Thread cf coder
hello everyody, Can someone please help? I'm struggling to find a solution to my problem. Any help will be greatly appreciated. Thanks, cfcoder Can you show me an example to demonstrate what you mean? I don't know much about writing RewriteRules or regular expressions. Regards, cfcoder

Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-03-03 Thread cf coder
Ok, I think what I'm trying to achieve is possible with a RewriteCond. Can someone please show me how to use RewriteCond? The condition should say, if there is a bookid query parameter run this rule: RewriteRule /offers(/books/.*) /index.cfm?go=offers.detailsbookid=${mapfile:$1} hello

Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-03-03 Thread cf coder
Can someone please tell me if this is the write syntax? I want the rule to only execute if there is a 'bookid' in the incoming url. RewriteCond %{QUERY_STRING} bookid RewriteRule /offers(/books/.*) /index.cfm?go=offers.detailsbookid=${mapfile:$1} Ok, I think what I'm trying to achieve is

Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-03-01 Thread cf coder
Can you show me an example to demonstrate what you mean? I don't know much about writing RewriteRules or regular expressions. Regards, cfcoder Would using the end of string character ($) help with limiting things? Adrian I already tried that. This is the order: RewriteRule

Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-29 Thread cf coder
I already tried that. This is the order: RewriteRule /offers/books/([a-zA-Z0-9.-]+)(.*) /index.cfm?go=offers\.$1 [PT] RewriteRule /offers(/books/.*) /index.cfm?go=offers.detailsbookid=${mapfile:$1} I can browse this page (it's working): http://mysite/offers/books/all but when I try to browse

Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-29 Thread cf coder
:46 AM, cf coder [EMAIL PROTECTED] com wrote: however none of the images on this page get displayed. I looked at an image property and the src which had the following src: http://mysite/offers/books/images/bookimage/somebook.gif I want it to be http://mysite/images/bookimage/somebook.gif

Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-29 Thread cf coder
Hi Adrian, I added the L flag but that didn't make any difference as I'm still getting the error. Also, use the L flag to stop processing rules. Adrian Put the RewriteRule for books.all first. Russ cfcoder ~| Adobe®

Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-28 Thread cf coder
Hi guys, I have one more questions on this topic. I've added a handful of rules and they work however all of the images on the site are broken. I have a virtual directory in IIS for my site called images and all the img tags on my pages start with for ex: images/foldername/imagename.gif. I

Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-28 Thread cf coder
Here's an example, I have a rule that translates http://mysite/index.cfm?offers.booksbookid=1 to http://mysite/offers/books/somebook however none of the images on this page get displayed. I looked at an image property and the src which had the following src:

Help with Rewrite Rule! (circuit.fuseaction)

2008-02-27 Thread cf coder
Hi guys, I need your help writing rules for my coldfusion/fusebox application. I've installed Helicon rewrite engine and am using IIS webserver. I want to convert the following link: /index.cfm?payment.home to a SEO Safe url something like this: /secure/payment/ (excluding the text home)

Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-27 Thread cf coder
Works like a charm. Thank you Russ and Barney. Thansk and Regards, cfcoder Wow, can't believe nobody's answered this yet. RewriteRule ^/secure/([^/]+)/*$/index.cfm?$1.home Russ ~| Adobe® ColdFusion® 8

Re: regex help

2008-02-18 Thread cf coder
Thank you Jason, Craig and Bobby for your help which is greatly appreciated. However this is not quite what I want. I do apologise for changing my original requirement. I'll try to explain. I want to read the contents of all the .cfm files in a directory and return all the href tags with the

Re: regex help

2008-02-18 Thread cf coder
Actually, please ignore my last message. I have got it to work: reFindNoCase(a[ ][\w -~]+productID=[ -~]+/a,inputString, pos) Thank you everybdoy for your help. Regards, cfcoder Thank you Jason, Craig and Bobby for your help which is greatly appreciated. However this is not quite what I

Re: regex help

2008-02-15 Thread cf coder
pardon me saying this but it looks very complicated. I rather just write a regex that will do this effortlessley. Regards, cfcoder I need some help with regular expressions. What you need is the kind of requirement I made CF_REextract for. See

regex help

2008-02-15 Thread cf coder
Hello everybody, I need some help with regular expressions. I'm trying to write a reqular expression that will return all the links on a page that contain a string in the query string. I found a UDF on cflib that returns a list of all the anchor tags on a page but I want to only return all

Re: regex help

2008-02-15 Thread cf coder
I would prefer the regular expression to do this. Can you show me how to do what you are suggesting please? If you don't manage to get what you're after. Just loop over the array and look for the string. Adrian Hello everybody, I need some help with regular expressions. I'm trying to write a

Worldpay Integration Help!

2006-06-14 Thread cf coder
Hello everybody, I'm working on an e-commerce website which uses Worldpay's Select Junior service to connect my online store to worldpay. To give you an overview, users visiting the site can add items to the shopping basket. I want to send the users to worldpay to enter their card details and

Re: Worldpay Integration Help!

2006-06-14 Thread cf coder
Hi Mark, I've looked on the the worldpay support website: http://support.worldpay.com/integrations/jnr/data.html but can't find any url which I could use to send the users to enter the card information. ~| Message:

Re: Worldpay Integration Help!

2006-06-14 Thread cf coder
what page do I link to on worldpay when the user is ready to enter his/her payment details? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243457 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4

Re: Worldpay Integration Help!

2006-06-14 Thread cf coder
purchase submission form Then continue to RTFM cf coder wrote: what page do I link to on worldpay when the user is ready to enter his/her payment details? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4

Re: Worldpay Integration Help!

2006-06-14 Thread cf coder
sorry folks! I am in a bit of a panic state and so do apologise for being a bit cheesey. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243474 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4

Re: Session Variables lost when moving from http to https - Please help!

2006-06-06 Thread cf coder
Thank you Matt for the detailed explaination. I went back to review the code yesterday and here is what I found. The regular domain webroot is C:\inetpub\wwwroot\web\content folder. There is an application.cfm file in this folder and a cfapplication tag. When the site is opened in a browser

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread cf coder
Hello Will, I am storing query objects in request and session variables. I can't send this info over the url query. The https link links to a different domain because my site is hosted by a company that provides the access to shared secure server. I understand the point made by someone earlier

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread cf coder
Josh, its not just the request scope variables that are undefined, I tried dumping the application and session scope variables but got the same undefined error message. -cfcoder ~| Message:

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread cf coder
I tried that. I passed #session.URLToken# in the url query string but I still got an error when I tried to dump the session scope variable, cfdump var=#session# Any ideas? PS: The main site domain and the secure site doamin names are not the same although the codebase is the same.

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread cf coder
On viewbasket.cfm (wwwroot\order\viewbasket.cfm) I added the following code: tdform action=https://securesite/proceedToSecuresite.cfm?#session.URLToken#; method=postinput type=Image src=proceed.gif border=0/form/td I didn't include it in every single page. I thought I'll first test if this

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread cf coder
Yes its definately the same physical server. I have no clue as to why the session, application, server, form, request scope variables are not available on the https domain. ~| Message:

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread cf coder
Is there a ColdFusion I can use on the https site to return the server settings i.e webserver version, application name, etc etc. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242312 Archives:

Re: Session Variables lost when moving from http to https - Please help!

2006-06-04 Thread cf coder
I added a cfdump tag to dump the server and application strucutre and saw the server dump but got an error for outputting the application dump: cfdump var=#server# cfdump var=#application# cfabort I'll have to contact the hosting provider to see what's going on. It is not making sense. I've

Session Variables lost when moving from http to https - Please help!

2006-06-02 Thread cf coder
Hello Everybody, I need your help solving this problem. Any help will be much appreciated. I am working on a a shopping cart page that stores the items ordered in a request scope variable. The usual stuff i.e you add an item to a basket and view your basket where you check the total price and

Re: Session Variables lost when moving from http to https - Please help!

2006-06-02 Thread cf coder
thank you all for your help and advise. I'll take a butchers at it tomorrow as it is pretty late in the night here in the UK. Cheers, cfcoder ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242175 Archives:

Re: Regular Expressions - Strip HTML tags. Please help!!!

2006-04-18 Thread cf coder
Thank you guys for pointing me to the right direction. The udf StripTags is really god sent. Thanks cfcoder CFLib.org is your friend :) Check out the function called StripTags. It does exactly what you want. http://www.cflib.org/udf.cfm?ID=774 Cedric

Regular Expressions - Strip HTML tags. Please help!!!

2006-04-13 Thread cf coder
Hello Everybody, I need your help with regular expressions. I'm trying to strip out HTML tags from a string to pass it to a flash movie. I've found a script that does this but the problem is that I want to keep some html formatting specifically the following tags: b, br, span, i, strong, div,

Regular Expression Help

2006-04-13 Thread cf coder
Hello Everybody, I'm having problems writing a regular expression. I'm trying to pass a string to flash and want to strip off and replace the html tags with a br tag but also leave any b, span, i, strong, div, br, and p tags. This is what I've done so far: cfscript function StripHTML(str) {

embedding an image in cfmail

2005-03-18 Thread cf coder
Is it possible to do this in ColdFusion 6.1? I ask this because the email that is sent via cfmail has a div tag in it with the style background-image attribute and when I try to open the email in ms outlook, I get prompted to enter the username and password. I have XP Professional SP2 running

Re: embedding an image in cfmail

2005-03-18 Thread cf coder
another thing I forgot to mention, when I run the image on the browser, I don't get prompted to enter the username and password. http://gateway/pages/Images/jobupdated.gif The security settings on the images folder is set to Full Control

Re: embedding an image in cfmail

2005-03-18 Thread cf coder
thanks Jedi for your reply. How do I go about embeding it. And the cid where can I generate this? I'm sorry I don't have any past experience in it Regards cfcoder ~| Find out how CFTicket can increase your company's customer

Re: embedding an image in cfmail

2005-03-18 Thread cf coder
I get an error when I run that code Attribute validation error for tag CFMAILPARAM. The tag does not allow the attribute(s) CONTENTID. The valid attribute(s) are FILE,NAME,TYPE,VALUE. This is the cfmx version I have installed on the server Version 6,1,0,hf52806_61 Any thoughts?

Re: embedding an image in cfmail

2005-03-18 Thread cf coder
Just looked up the cfmailparam tag in the coldfusion 6.1 online documentation. CONTENTID attribute is not part of the tag. It is however included in CFMX 7 http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-pb2.htm#wp1101294

Re: embedding an image in cfmail

2005-03-18 Thread cf coder
thanks for this. I'll do this on Monday as I have to wait for clearance. Regards cfcoder ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a

Re: format y-axis in cfchart

2005-03-16 Thread cf coder
Hi again, I'm just so loosing my focus here. Not knowing how this things works is probably what's getting me all frustrated. Ok, here is what my query looks like cfquery name=qBar datasource=testDB SELECT CONVERT(varchar(15), dt.dtlogged, 106) AS dtlogged, dt.jobcount, j.jobPriority,

Re: cfchart and cfchartdata question. Kindly help!

2005-03-15 Thread cf coder
I'm afraid that does not return the results I want to see returned. I am building a graph with the dates displayed on the x-axis and the count of jobs logged in a day dispalyed on the y-axis. If there are 3 jobs logged in a day, each job has a different jobPriority, I want to build a chart

format y-axis in cfchart

2005-03-15 Thread cf coder
The values displayed on the y-axis are are mix of float and int. The chart displays int values on the y-axis if I use only one cfchartseries tag. The code below calculates the value for the gridlines and scaleto attributes. [code] cfset

cfchart and cfchartdata question. Kindly help!

2005-03-14 Thread cf coder
Hello everybody, I really need someone to help me here. I'm new to charting. I'm developing a graphical interface to report the no of jobs logged in a period. The x axis displays the period (days) and the y-axis displays the number of jobs logged in a given day. The data is pulled from the

Re: cfchart and cfchartdata question. Kindly help!

2005-03-14 Thread cf coder
thanks Cliff for the reply. That did occur to me and its probably the only way to do it. However, I don't know how to build the select sql query. From what I understand when using the count() function, I can't any other column name in the select. select count(*), jobPriority from call where

sql select statement help..

2005-03-14 Thread cf coder
Hello everybody, I really need someone to help me here. I'm developing a graphical interface to report the no of jobs logged in a period. The x axis displays the period (days) and the y-axis displays the number of jobs logged in a given day. The data is pulled from the jobs table. The job

Re: CFChart: Set Axis Markers?

2005-03-10 Thread cf coder
I would really appreciate it if someone showed me how to do this. I'm building a bar chart which displays the no of jobs logged in a month. Here is my code cfchart show3d=yes gridlines=5 labelformat=number scalefrom=0 scaleto=10 format=jpg xAxisTitle=log date yAxisTitle=jobs logged

ColdFusion ignores empty list elements

2005-03-07 Thread cf coder
ex: the list a,b,c,,,d has four elements How do I force it to not ignore empty elements? I'm getting an error with listGetAt(list,4). Any thoughts? Best regards cfcoder ~| Discover CFTicket - The leading ColdFusion Help Desk

Re: ColdFusion ignores empty list elements

2005-03-07 Thread cf coder
thanks for that guys. I'm still getting an invalid list index error. if the list has 4 elements and I try to use the listgetat function to get the 5th element. I get an error. QuerySetCell(qTmp,model, listGetAt(list,5)); Is there a way to say if it does not exist, do something else ex:

Re: ColdFusion ignores empty list elements

2005-03-07 Thread cf coder
Here is the code cffile action=read file=#serverFileName# addnewline=yes variable=fileOutput cfset qTmp = QueryNew(ref,asset,serial,manufact,model) cfset fileOutput = Replace(fileOutput, ,,All) cfset fileOutputNew = Replace(fileOutput, ,,All) cfloop list=#fileOutput# index=fileLine

Re: SQL Select statment query - kindly help

2005-02-18 Thread cf coder
so you're saying give me any job where eventCode is 100 and jobID is N, but where the same job doesn't have an eventCode of 150 somewhere else That was exactly what I was trying to acheive. You sql worked straight away. Thank you again for your reply. Best regards coder

SQL Select statment query - kindly help

2005-02-17 Thread cf coder
Hello everybody, I have a question with regards to a sql select statement and was hoping someone could help. I'm trying to query a table and trying to return row where a condition is true. To give you a better idea; picture a event table. A job can have muliple events ex, an event to indicate

Re: Problems Querying Text File Datasource Using ODBC/Coldfusion MX

2005-02-10 Thread cf coder
Hi Jared, Thanks for responding (I work with cfcoder btw). You're right; we don't have to do it this way, but it fitted in nicely with some other stuff, and being stubborn and not liking to admit defeat, we'd been wanting to get this to work. In the end though, even if it does work we'll

Problems Querying Text File Datasource Using ODBC/Coldfusion MX

2005-02-09 Thread cf coder
Hi, Just wondering if anyone has experience with using the Microsoft Text ODBC Driver with Coldfusion? The problem I am getting is that the datasource I have to work with is named account.dat.cgi. I have set up a System DSN on the server for the folder containing this file, and

Re: Pattern matching in ASP - Kindly help

2004-10-26 Thread cf coder
function GetCommentsWrapper(txt){ if(REFindNoCase((newLog|legacyLog)\b[^]*,txt)) return GetCommentsNew(txt); else return GetComments(txt); } I want to display everything between the opening newLog or legacyLog tag and the closing /newLog or /legacyLog tag. The above function

Pattern matching in ASP - Kindly help

2004-10-22 Thread cf coder
Hi guys, I'm really hoping someone could help me, this may not be the forum for this question but I thought I'll ask for your help anyway. I am a ColdFusion developer. I'm trying to re-write some CF code in ASP, and am stuck. To give you an overview, I'm working on a job logging system. The

Re: exception handling, kindly help

2004-10-20 Thread cf coder
Can somebody please help? I don't know where to go from here. I'll really appreciate it ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community.

Re: exception handling, kindly help

2004-10-20 Thread cf coder
thanks for that... I'll give it a bash Regards cfcoder ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message:

Re: exception handling, kindly help

2004-10-20 Thread cf coder
thanks Simon ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message:

Select distinct record - help

2004-10-20 Thread cf coder
BY reference asc /cfquery This brings back 2 records, and I want it to only return 1 row. select name=custname id=custname cfloop query=getEmployeeDetails option value=#reference##reference#/option /cfloop /select The data in the table looks like this 1 cfcoder cf coder

Re: Select distinct record - help

2004-10-20 Thread cf coder
Pascal, I was just trying to illustrate to you if it makes sense ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37

Re: exception handling, kindly help

2004-10-11 Thread cf coder
Hi and thank you all for posting the code. I'm afraid I'm still stuck with this problem. My application uses a lot of iframes and the custom error message can have a green background or a orange background depending on the page the error occurred and to be able to do that I use the custom tag

Re: exception handling, kindly help

2004-10-11 Thread cf coder
Hi and thank you all for posting the code. I'm afraid I'm still stuck with this problem. My application uses a lot of iframes and the custom error message can have a green background or a orange background depending on the page the error occurred and to be able to do that I use the custom tag

Re: exception handling, kindly help

2004-10-08 Thread cf coder
Thank you guys for replying to my thread. Ewok I tried your code, but still don't get back a empty error structure cftry cfcatch type=any cfdump var=#error# !--- I want to see what is returned in this structure --- cfabort cf_caughtIt catchMessage=#cfcatch.message# /cfcatch /cftry

Re: exception handling, kindly help

2004-10-08 Thread cf coder
I'm sorry I made a typo mistake in my last post. What I meant was that the error structure is empty when I try to dump it [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: exception handling, kindly help

2004-10-08 Thread cf coder
Hi there, sorry for not getting back sooner. I've been banging my head trying to find a solution ALL day. I would really appreciate your help. I have added the custom error message in the error handler file. cfcatch type=any cf_caughtIt catchMessage=#cfcatch.message# /cfcatch I modified

Re: exception handling, kindly help

2004-10-08 Thread cf coder
thanks Mark, the cfcatch tags are wrapped inside a cftry block, I didn't post it because I thought it wasn't necessary. And secondly the cfcatch tag is not in the error handler page, its on a file where the error has occurred. cfdump var=#error# throws an error and that's because as Pascal

Re: exception handling, kindly help

2004-10-08 Thread cf coder
was empty when I did not expect it to be. From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: Thursday, October 07, 2004 11:57 AM To: CF-Talk Subject: Re: exception handling, kindly help On Thu, 07 Oct 2004 12:53:56 -0400, cf coder [EMAIL PROTECTED] wrote

exception handling, kindly help

2004-10-07 Thread cf coder
Hello everybody, I'm hoping someone can help me. I am working on this exception handling code. I have written a custom error handler that displays a custom error message when a coldfusion error occurs and sends an email to the administrator. I want to append the complete error block to the email

Re: exception handling, kindly help

2004-10-07 Thread cf coder
cfcatch.details returns nothing. Does it depend on the type of exception I select? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

How do I close the pop-up window - kindly help

2004-09-28 Thread cf coder
Hi Guys, I'm hoping someone can help me. I've tried everything but can't quiet nail this problem. I have this page that has a hyper-link. Clicking on the hyper-link opens up a pop-up window. The url looks something like this: window.open('attachment.cfm?promptUser=trueid=12345filename=testfile',

Re: How do I close the pop-up window - kindly help

2004-09-28 Thread cf coder
thanks Pascal. I went with the second option: function openAttachment(){ opener.location = cfoutput#cgi.SCRIPT_NAME#?FILENAME=#url.FILENAME#ID=#url.id#promptU ser=false/cfoutput; window.close(); } It works just fine, many thanks Pascal, you are a genius Regards, cfcoder [Todays Threads] [This

datetime problems - 01/01/1900

2004-09-24 Thread cf coder
Hello, I'm assuming this one should be an easy one.I'm running an insert query and one of the fields is date/time. When I DO NOT send a value to it, I want to insert is as NULL, but instead, it's going in as 1/1/1900. How should I do my query where I can send a NULL Value? Thanks, cfcoder

Re: datetime problems - 01/01/1900

2004-09-24 Thread cf coder
The table column allows null values. Hey Pascal, hope you're doing well mate! I copied your code. I am checking for some condition; if it is false, I want to insert null in the datetime column. ActionDateTime = cfqueryparam cfsqltype=cf_sql_timestamp value= null=#YesNoFormat(0)# I get an error

  1   2   3   >