A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

getting a number from a form



 
 
Thread Tools Display Modes
  #1  
Old June 4th, 2004, 09:36 PM
Andy Levy
external usenet poster
 
Posts: n/a
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.