Text function names ending in "$"

P

peschrader

Hi !

I'm using Microsoft Access 2003 and Windows Vista.

For table design there is a validation rule expression builder.
It offers text functions ending in a "$".
E.g., there is a function TRIM$ in addition to TRIM.
What's the meaning of the $ character?

Thank you very much for your kind help.

Peter
 
D

Douglas J. Steele

It means that the function returns a string, not a variant, so will be
slightly faster (not that you'd likely notice the difference). It also means
that it will raise an error if the value passed to it is Null, though, so
you need to know your data before using it (or else force the argument to be
a string by concatenating a zero-length string to it)
 
K

kyle hicks#

gyygygyghgygyjgyygygygyjyiyg
Douglas J. Steele said:
It means that the function returns a string, not a variant, so will be
slightly faster (not that you'd likely notice the difference). It also
means that it will raise an error if the value passed to it is Null,
though, so you need to know your data before using it (or else force the
argument to be a string by concatenating a zero-length string to it)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top