Results 1 to 2 of 2
  1. #1
    adnancanada is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2010
    Posts
    121

    Text and number

    I have result in query destination id



    Destination Id:

    03 it should be text
    04 it should be text
    14 it should be integer
    25 it should be integer
    15 it should be integer

    My field name is destination Id Integer . I want my result if destination is from 1 it should show 01 as text if destination id 2 it should 02 as text if destination id 15 it should show as integer.

    leading zero changed my entire field to text which I don't want. I want from 1 to 9 as text and 10 to 50 as integer. -Hope you understand. Your help is needed.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You can use the Format() function to display the integer any way you want. Access is pretty good at separating what is in the table from how it is displayed.

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

Similar Threads

  1. Replies: 5
    Last Post: 12-02-2014, 01:20 PM
  2. Replies: 9
    Last Post: 03-22-2013, 06:37 AM
  3. convert number to text number like in cheque
    By ravideep in forum Reports
    Replies: 1
    Last Post: 03-12-2013, 05:55 AM
  4. Replies: 2
    Last Post: 07-21-2012, 01:21 AM
  5. Replies: 3
    Last Post: 05-29-2012, 04:47 PM

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