If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
getting a number from a form
Sorry - yes - you are right - it was all to do with the binding
Thank you "Wayne Morgan" wrote in message ... I just tried it using an unbound textbox and the printout was exactly what was in the textbox. Is your textbox a Bound textbox (connected to a field)? If so, what is the data type of the field in the table? If it is Number, what is the Field Size? Try Double or Decimal for the Field Size and see if that helps. I also tried it with a textbox bound to a Number, Double field and it worked properly. -- Wayne Morgan Microsoft Access MVP "Andy Levy" andy underscore levy at hotmail dot com wrote in message ... Hi 'The value of myTextBox on my form is 106666789.99 However if i call that value into my VBA Sub - only 6 significant figures are returned. Debug.Print "myTextBox Value = " & Me.myTextBox 'Which produces "myTextBox Value = 1.06667E+08 So it is only showing 6 significant figures - when really i need it to show upto 10 sig figs or more. Is there any way to do that? Thanks Andy |
Thread Tools | |
Display Modes | |
|
|