Re: Checking arrays for any values

2010-09-06 Thread Peter Boughton
It's not clear what you're trying to do. Can you post examples of each type of value it might contain, and whether that is considered true/false? (It's probably still simplest to step through the array and check each value though.)

Re: Checking arrays for any values

2010-09-06 Thread Scott Brady
You can do listFind(arrayToList(aYourArray),1) for the bit datatypes. I'm not sure what the performance of that will be if your array is very large, though. For the string array, you can do NOT listFind(arrayToList(aYourArray,)) I'm not sure if that logic is exactly correct, but it should get

RE: Need some fresh eyes on an application

2010-09-06 Thread Rick Faircloth
Not being familiar with mssql (I'm a mysql user), I made some entry mistakes when trying to create a table. An error message would pop up identifying my mistake, but then when I clicked ok to go back and correct the error, the form for entering a column had disappeared. Is that supposed to

Re: Checking arrays for any values

2010-09-06 Thread Peter Boughton
In CF9, Adobe have (finally) added the ArrayFind function, which simplifies that code. (Also available in OpenBD v1.3 and above, and in Railo since early days.) ~| Order the Adobe Coldfusion Anthology now!

Re: Calculate next Tuesday 3 weeks from date

2010-09-06 Thread Steve Sequenzia
Got it. Thanks Andrew. Use the DayOfWeek(now) to get the day number, find out the difference to Tuesday and to a dateAdd for day to either go back in time. Then use the DateAdd of 3 weeks to get your result. Regards, Andrew Scott http://www.andyscott.id.au/ I need a little help with a

Ajax file upload.

2010-09-06 Thread Steve Sequenzia
I am trying to make this http://www.webtoolkit.info/ajax-file-upload.html work in ColdFusion. I can get it to work as long as I don't make the form a cfform. I need to make it work with a cfform though. When I change the form to cfform it just submits to the action page I created but it

Re: Ajax file upload.

2010-09-06 Thread Michael Grant
You have it like this? CFFORM NAME=foo ACTION=bar.cfc METHOD=POST enctype=multipart/form-data ~| Order the Adobe Coldfusion Anthology now!

RE: Need some fresh eyes on an application

2010-09-06 Thread Sebastiaan GMC van Dijk
Login doesn't work (at the moment?). So I cannot help with testing. I'm using Opera, IE8, Firefox, Safari and Chrome on Windows 7, but none of them want to login with the credentials provided. Sebastiaan = So long and thanx 4 all the fish == Onlinebase.nl

Re: Ajax file upload.

2010-09-06 Thread Steve Sequenzia
No, I have action=formRes.cfm. Then on the formRes.cfm it does a file upload. Again, it works with a html form but not with a cfform. should I have the action be a .cfc file? Thanks for the help. You have it like this? CFFORM NAME=foo ACTION=bar.cfc METHOD=POST enctype=multipart/form-data

Re: Ajax file upload.

2010-09-06 Thread Michael Grant
The name and action are just there as example. What I'm asking is did you include *enctype=multipart/form-data in your cfform tag? On Mon, Sep 6, 2010 at 1:39 PM, Steve Sequenzia c...@thinksys.com wrote: No, I have action=formRes.cfm. Then on the formRes.cfm it does a file upload. Again, it

RE: Ajax file upload.

2010-09-06 Thread andy matthews
I'm more interested why it has to be cfform? Are you using the validation for cfform? You know that once your form is finalized, you can just download the JS that cfform outputs and ditch cfform for production? andy -Original Message- From: Steve Sequenzia [mailto:c...@thinksys.com]

cfmail and Groupwise-SMTP

2010-09-06 Thread Thomas Stichnoth
Hello, curious: Im using a Groupwise-SMTP-Server with CF8. Delivery of Mails is working. But, when I try to send mail with an illegal recipient, I get no error in the Coldfusion-Logs (debug=yes), Status 250 OK. If I try the same via Telnet, I get the an error (550) Any Idea? Kind

Re: Ajax file upload.

2010-09-06 Thread Steve Sequenzia
I am trying to make this http://www.webtoolkit.info/ajax-file-upload. html work in ColdFusion. I can get it to work as long as I don't make the form a cfform. I need to make it work with a cfform though. When I change the form to cfform it just submits to the action page I created but

Re: cfmail and Groupwise-SMTP

2010-09-06 Thread Russ Michaels
in the mail settings you need to set *Error Log Severity to warning or error I believe Russ * On Mon, Sep 6, 2010 at 9:43 PM, Thomas Stichnoth i...@stichnoth.net wrote: Hello, curious: Im using a Groupwise-SMTP-Server with CF8. Delivery of Mails is working. But, when I try to send mail