lfirth
05-09-2005, 10:09 PM
The field 'fldAverVal' is a currency value and in the table has a value of '50000', the value is first read from a database and assigned a variable:
intAverVal = objRec.Fields("fldAverVal")
The value is not displayed on the next form but will be needed on the one after that so I need to remember it so in my form I assign it to a hidden text field, at this point I know the value is still correct:
<input name="AverVal" type="hidden" value="<%= intAverVal %>">
When I submit to the next form the value has been corrupted in some way and had a '0, ' added to the start of the string. i.e. '0, 50000'
intAverVal = Request.Form("AverVal")
I have no idea where this is coming from.
intAverVal = objRec.Fields("fldAverVal")
The value is not displayed on the next form but will be needed on the one after that so I need to remember it so in my form I assign it to a hidden text field, at this point I know the value is still correct:
<input name="AverVal" type="hidden" value="<%= intAverVal %>">
When I submit to the next form the value has been corrupted in some way and had a '0, ' added to the start of the string. i.e. '0, 50000'
intAverVal = Request.Form("AverVal")
I have no idea where this is coming from.