Lets see more of your code then, because it is not happening for me in a
simple test:

<cffunction name="test" output="true">
<cfargument name="lastdigits" type="string" />
<cfoutput>#Arguments.lastdigits#</cfoutput>
</cffunction>

<cfoutput>Test = #Test('0234')#<br />Test = #Test(0234)#</cfoutput>

Or with:

<cffunction name="test" returntype="string">
<cfargument name="lastdigits" type="string" />
<cfreturn Arguments.lastdigits />
</cffunction>

<cfoutput>Test = #Test('0234')#<br />Test = #Test(0234)#</cfoutput>

On 10/13/06, Will Tomlinson <[EMAIL PROTECTED]> wrote:
>
> >Better yet a cfqueryparam should just be used with a type of varchar.
> >
> >On 10/14/06, Josh Nathanson <[EMAIL PROTECTED]> wrote:
>
>
> Ok, forget about the db for a minute. The problem is further up the creek
> is what I'm trying to say here.
>
> Just do a dump of the arguments and CF has already removed the leadin 0.
> Doesn't matter after that, I'm screwed.
>
> The variable looks good on the calling page, then the leading 0's are gone
> in the cfargument dump.
>
> I have the argument set to string.
>
> Thanks,
> Will
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256738
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to