thanks heaps for the help guys, mike
> 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277215 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4