IsValid Integer 40+ and numeric argument???

2012-07-20 Thread Richard White

Hi,

I have noticed that the isvalid('integer',value) function return true for the 
value 40+. Whereas if i pass 40+ to a cfargument numeric type an error is 
displayed saying invalid numeric value. Strange discrepancy!

I actually need the isvalid function to return false if the sign is on the 
right. is there a way to do this?

thanks 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351929
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: IsValid Integer 40+ and numeric argument???

2012-07-20 Thread Robert Harrison

Unfortunately, that's a CF bug.  It's a major pain. I don't think they intend 
to fix it. It's been that way for several releases.

Robert Harrison 
Director of Interactive Services

Austin  Williams
Advertising I Branding I Digital I Direct  
125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788
T 631.231.6600 X 119   F 631.434.7022   
http://www.austin-williams.com

Blog:  http://www.austin-williams.com/blog
Twitter:  http://www.twitter.com/austin_williams 


-Original Message-
From: Richard White [mailto:rich...@re-base.net] 
Sent: Friday, July 20, 2012 7:51 AM
To: cf-talk
Subject: IsValid Integer 40+ and numeric argument???


Hi,

I have noticed that the isvalid('integer',value) function return true for the 
value 40+. Whereas if i pass 40+ to a cfargument numeric type an error is 
displayed saying invalid numeric value. Strange discrepancy!

I actually need the isvalid function to return false if the sign is on the 
right. is there a way to do this?

thanks 




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351930
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: IsValid Integer 40+ and numeric argument???

2012-07-20 Thread Claude Schnéegans

 I actually need the isvalid function to return false if the sign is on the 
 right. is there a way to do this?


Try this :
CFSCRIPT
function isValidInteger (value)
 {
 return (REFind (^(\+|-)?[0-9]+$, value) NEQ 0);
 }
/CFSCRIPT
CFOUTPUT
isValidInteger (12345) = #isValidInteger (12345)#BR
isValidInteger (40+) = #isValidInteger (40+)#BR
isValidInteger (+40) = #isValidInteger (+40)#BR
isValidInteger (-40) = #isValidInteger (-40)#BR
isValidInteger (++40) = #isValidInteger (++40)#BR
/CFOUTPUT

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351931
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


ColdFusion 10 and FileMaker 11?

2012-07-20 Thread Christian N. Abad

Folks:

 

I need to setup a DSN in ColdFusion 10 (running on 64-Bit Windows Server
2008 R2 Standard) for a FileMaker 11 database.

 

I understand that I have the options of either using ODBC or JDBC for this.
However, I haven't been successful with my attempts thus far.

 

Does anyone have experience doing this, and if so, what do you suggest?

 

Thanks in Advance!

 

Sincerely,

 

Christian N. Abad - President

 

Accessible Computing, Inc.

1210 McLaughlin Drive

Charlotte, NC 28212

http://www.AccessibleComputing.com




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351932
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


beatport killing it again on Friday Sessions

2012-07-20 Thread K-Sea - dvsDJTV.com

Krewella LIVE, dam these girls are HOT!

http://www.ustream.com/beatport


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351933
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm