hi guys, i have a merchant reference number that is passed from a payment gateway, in the format of...
'P' & LSDateFormat(now(), "yyyymmdd") & '-' & txn_id so it could be... P20070506-1, P20070506-2 or P20070506-59 what i wish to be able to do is query a database based on the last set of numbers eg. 1, 2 or 59 in the examples above. a little lost as to how i can achieve this? any help would really be appreciated. mike ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277097 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

