Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2004
    Posts
    4

    Unanswered: How to replace instances of "#"

    I do a lot of address correction and updating. The post office prefers either "Ste" or "Rm" as opposed to just using the pound sign #.

    However if I try to filter and replace "#" with or without the quotation marks it simply selects and replaces every single number value (text value for the field).

    Is there a way to actually replace the pound sign since it's assuming it as a symbol and not being literal? I'm assuming this would have to be done in a query....

  2. #2
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    Have you tried casting the value to text, then make your changes and write it back to the table?
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

  3. #3
    Join Date
    Jun 2004
    Posts
    4
    If by casting you mean changing the field to text value? It's already in text =/ That's why I'm having the problem. If I misunderstood, then I'm sorry.

  4. #4
    Join Date
    Sep 2003
    Posts
    228
    You could use the Chr Function to refer to the ASCII value of the pound sign.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •