Results 1 to 3 of 3
  1. #1
    Jaik is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Aug 2016
    Posts
    33

    form text box does not take decimal value

    In the form, I have 3 columns let users put value in it. Debit type(text), Debit Amount(Number), DebitDate(Text).
    Everything works great, but If I try to type decimal numbers like 54.25 in the Debit Amount textbox, it will display only 54.
    Is there any way to display the full decimal number in the text box?




    Thank you

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    It sounds like your textbox control is bound to a field in a table that is of Data Type number and size Integer or Long Integer. Maybe a Double is a more appropriate Size.

    Also, get familiar with Format. You can Format stuff so it looks a certain way. However, Format is just a version of the underlying data and Format does not affect the value of the underlying data.

  3. #3
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    In the table, what is the data type for the field "Debit Amount"? Integer, Long Integer, Single, Double?????

    I've got to get up earlier!! ItsMe beat me again... Arg


    BTW, do you really have spaces in the field names??? Shouldn't use spaces in object names

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 02-26-2015, 11:22 AM
  2. Convert decimal comma to decimal point
    By Hans Karlsson in forum Programming
    Replies: 3
    Last Post: 06-30-2014, 01:56 PM
  3. Converting text to 2 decimal places
    By lwilt in forum Access
    Replies: 1
    Last Post: 09-13-2013, 09:58 AM
  4. Include zero after decimal in text string
    By inhops in forum Queries
    Replies: 3
    Last Post: 08-14-2013, 03:02 PM
  5. Using decimal points in text 1.2.3
    By dichotomous2013 in forum Access
    Replies: 3
    Last Post: 01-30-2013, 06:49 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums