Results 1 to 2 of 2
  1. #1
    newtoAccess is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Nov 2009
    Posts
    226

    Convert field to General Number

    I have a query that displays my yes/no check boxes. In the query I have fields that would indicate if field = "Yes" set to 1,
    This works great. The results shows one field as a check box and the next as a 1. Just as I need.



    I now use this query in a report and the 1 show up as "Yes" not a 1. oops
    I was trying to print a list where I could show what was flaged 1 then total the field and add that field to other fields.

    I can get a sum of the "Yes" field but I can't add two "Yes" fields together as they are text fields.
    I tried to set the Queries field to General Number and the report to General number but when I save them they convert back to text fields.

    Any suggestions?

  2. #2
    kennejd is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    188
    Could you post your sql? I'm thinking you could have a formula field in your query...similar to your 'Yes'/1 calculation, but the new field will have 1s and 0s. Put this on your report and hide it....then try your addition. I may be off on what you're trying to achieve.

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

Similar Threads

  1. Convert auto number
    By JonB1 in forum Access
    Replies: 2
    Last Post: 02-20-2011, 10:26 PM
  2. Convert number to fixed length text field
    By tpcervelo in forum Queries
    Replies: 1
    Last Post: 08-02-2010, 07:26 PM
  3. Replies: 1
    Last Post: 01-30-2010, 04:45 PM
  4. Number convert to date
    By Argus in forum Programming
    Replies: 1
    Last Post: 08-05-2009, 02:21 PM
  5. how to convert week number to date range
    By qwang1115 in forum Access
    Replies: 1
    Last Post: 02-13-2009, 11:35 AM

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