Re: Wonderful!

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Southern at Heart" <SouthernatHeart@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:2966F3E5-6A9B-43FF-AA5F-D6ADA9BDB347@xxxxxxxxxxxxxxxx
That was great! I tweaked it with a couple (( and a ;
and it works perfect!

Did you do that because you found it didn't work as originally posted, or just because you thought you should? because I think it ought to work the way I posted it. Note that you don't need a trailing semicolon in a SQL statement, and Access likes to add lots of unnecessary parentheses when you build queries in the design grid.

Another similar question:

Could you alter this a little so that it works the same way only instead of
removing the trailing returns from the end of the field/fields, it removes
the two characters
^b (or ^B) from any part of the field. Baxsically, replace ^b or ^B with
nothing.

Literally "^b" and "^B"?

Removing strings from any part of a field is simpler than removing them from just the end of the field, as you can just use the Replace function, and don't need to loop until they're all gone.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)

.



Relevant Pages

  • Re: Text Numeric Deja Vu
    ... > Removing the criteria did not affect the error message. ... >> I didn't expect you to remove the criteria permanently. ... >> Duane Hookom ... >> MS Access MVP ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Latest Combo box question
    ... removing the "extra" WHERE words: ... Ken Snell <MS ACCESS MVP> "Eric G" wrote in message ... >>Change the Row Source query to exclude the record whose value of ReasonID ... > I'd also like to have two more ReasonID values not showing in the> dropdown list. ...
    (microsoft.public.access.formscoding)
  • Re: POWDER YAAP: Barbarian-mage
    ... and do you plan on removing it? ... wasn't killed at all (Fetch his heart?). ... Control-teleporting your way up suggests that you didn't carry the heart ...
    (rec.games.roguelike.misc)
  • Re: Searching in a line
    ... the trailing semicolon, dude. ... it skips two lines and returns to the prompt. ... Ok I got it working by removing the $log in the my val line, ...
    (comp.lang.perl.misc)
  • Re: Searching in a line
    ... the trailing semicolon, dude. ... it skips two lines and returns to the prompt. ... Ok I got it working by removing the $log in the my val line, ...
    (comp.lang.perl.misc)