G
Gerald Stanley
Try something along the lines of
Left(Right([emailId], InStr([emailId],"@") + 1),
InStr([emailId],".")-1)
Hope This Helps
Gerald Stanley MCSD
select portion of a certian field. For example, I would
like to trim out the location (domain) of an email address
field. I also wanted to use the first portion for the user
id and have the formula to cut of the id prior to the
domain (e.g., "EmailID2: IIf([emailid] Is Null,"
",Left([emailid],InStr([emailid],"@")-1))").
Left(Right([emailId], InStr([emailId],"@") + 1),
InStr([emailId],".")-1)
Hope This Helps
Gerald Stanley MCSD
however, I am creating queries and need help getting only a-----Original Message-----
Being new to it all, I should be in beginners chat;
select portion of a certian field. For example, I would
like to trim out the location (domain) of an email address
field. I also wanted to use the first portion for the user
id and have the formula to cut of the id prior to the
domain (e.g., "EmailID2: IIf([emailid] Is Null,"
",Left([emailid],InStr([emailid],"@")-1))").
the email id. Now I want to get "atlanta".So, if the email is (e-mail address removed), Jandoe is