It turns out the problem was the way I generated OrderID.
I had used:
<CFSET OrderID = DateFormat(Now(), "yyyymmdd") & TimeFormat(Now(),
"hhmmss") & RandRange(1000,9999)>
which worked for CFAS 4.01 but not for CFAS 4.5.1. It dawned on me how to
modify my error trapping and I was able to see that CFAS 4.5.1 said OrderID
generated as above was not an integer.
Switching to <CFSET OrderID = TimeFormat(Now(), "hhmmss")>
worked fine.
best, paul
At 04:48 PM 11/27/00 -0500, you wrote:
> > The following works in CFAS 4.01 but not CFAS 4.51:
> >
> > <CFSET TMP = Randomize(OrderID)>
> >
> > Changing to:
> >
> > <CFSET TMP = Randomize("#OrderID#")>
>
>What error does it return? That code works fine for me on CF 4.5.1 SP2.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>voice: (202) 797-5496
>fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists