Results 1 to 4 of 4
  1. #1
    ideasfactory is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2015
    Posts
    6

    Convert text to number in linked table to excel....

    Hi,

    I have a linked excel table in access 2010 all the fields come through from excel as strings, I have one field that I need to convert all the records from string / text number to an actual number.



    How would I do this?

    Thanks

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,529
    In a query you could use the appropriate conversion function: CCur, CLng, etc.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    ideasfactory is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2015
    Posts
    6
    Hi
    Thanks I assume I would use an update query?
    Can you post an example the number is whole no decimal points.

    Cheers

  4. #4
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,529
    You can use them anywhere. Did you look in help?

    CLng(FieldName)
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 4
    Last Post: 10-01-2014, 03:59 PM
  2. convert number to text number like in cheque
    By ravideep in forum Reports
    Replies: 1
    Last Post: 03-12-2013, 05:55 AM
  3. Replies: 2
    Last Post: 10-22-2012, 05:32 PM
  4. Convert number to text
    By Bertrand82 in forum Queries
    Replies: 7
    Last Post: 10-12-2012, 01:19 PM
  5. Replies: 2
    Last Post: 08-22-2010, 07:59 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