> It seems to be kind of poor not to be able to use switch on a string.  If
I
> use the dept number say (0305) instead of the name would this work or
would
> Java freak on the 0 (zero).  Our database treats these fields as varchar
since
> the zero in front has meaning to the accounting people.

Yes, it's a pain. The department number would work except that you are
right, Java would take the initial 0 to mean it's an octal number.

Nick




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188930
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to