?
Solved

Remove characters from property numbers in access

Posted on 2007-03-22
4
Medium Priority
?
191 Views
Last Modified: 2012-05-05
I have a table column that contains the property number, however some of the results are 22A if its a set of flats for eample. I wasnt to be able to split this column into 2 and have only numbers in one which will be property number and the letters into another column which will be called propsuffix. How can i do this. I have used the Mid and InStr to get this table in the first place but not sure if i can use this to get rid of letters only.

Thanks
0
Comment
Question by:martgriff
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 51

Accepted Solution

by:
Gustav Brock earned 1000 total points
ID: 18771493
Use:
   Val(PropertyNo)

and

   Right(PropertyNo, 1)

/gustav
0
 
LVL 39

Expert Comment

by:stevbe
ID: 18771567
MyNumber:Val([PropertyNo])
MyLetter: Right([PropertyNo], Len([PropertyNo]) - Len(Val([PropertyNo])))

0
 

Author Comment

by:martgriff
ID: 18771571
Thanks alot for that :D
0
 
LVL 51

Expert Comment

by:Gustav Brock
ID: 18772019
You are welcome!

/gustav
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question