Jump to content
Server Maintenance This Week. ×

Concatonating PARTS of fields


This topic is 7021 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I have an identifier that I want to generated based on other information entered. It seems redundant and chancy to make the user create the identifier when they have to enter in the other info.

Example:

FirstName: Mary

LastName: Watson

SSN: 123-45-6789

resulting identifyer: WM6789

I know how to concatonate, I just don't know how to extract precise data from a field. Help please?

-parima

Link to comment
Share on other sites

You can get precise data from a field by the Left, Middle, and Right functions.

cConcatKey = Left (LastName;1) & Left (FirstName;1) & Right(SSN;4)

Link to comment
Share on other sites

This topic is 7021 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.