> Nah, I was hoping for a check at the insert stage. Oh, now I see what you mean. > A long-winded alternative would be, after the insert, to do > a select, write file, then IsPDF on that, but that seems a > bit of an ugly way of doing it.
I agree a numeric comparison is simpler. But I do not know that you need to generate a physical file just to test. IIRC one of the functions accepts a variable. So you could test it on the way in. > api stuff - can't remember if that is in CF8 or only CF9? I am pretty sure it was in CF8. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329962 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4