-----Original Message-----
Allison
I am a bit confused. Do you want the space between the fields
[Full_Grant_Num] and [Can]?
If the answer is no, then drop the " " & between the two fields to just
have:
[FULL_GRANT_NUM] & Right([CAN]),4)
If one of the fields has a space in it that you want to get rid of, then use
the REPLACE() function
on that one field. For example:
Replace([FULL_GRANT_NUM], " ", "", 1, , vbTextCompare) as
[FullGrantNum] & Right([CAN]),4)
Let me know how that goes for you.
--
Rob
FMS Professional Solutions Group
http://www.fmsinc.com/consulting
Software Tools for .NET, SQL Server, Visual Basic & Access
http://www.fmsinc.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Correction this is how my label looks inside a query:
NEW GRANT ID: [FULL_GRANT_NUM]& " "& Right([CAN]),4)
Where would I put the information below??
-----Original Message-----
Allison
Access 2000 (and current) have a function called REPLACE.
You could try:
Replace([Field], " ", "", 1, , vbTextCompare)
HTH
--
Rob
FMS Professional Solutions Group
http://www.fmsinc.com/consulting
Software Tools for .NET, SQL Server, Visual Basic & Access
http://www.fmsinc.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
message
I have this number 1-F31AI054229-01 AI-5754
I would like to remove the space between 01 & AI in the
above example.
I have it setup
=[field]& "-" &[field]&"-"[field] etc....
I tried &""& but I received an expressions error???
.
.