Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

access courses in london - alphanumeric fileds

Forum home » Delegate support and help forum » Microsoft Access Training and help » access courses in london - Alpha-numeric fileds

access courses in london - Alpha-numeric fileds

ResolvedVersion Standard

Sandra has attended:
Access Intermediate course

Alpha-numeric fileds


I'm trying to clean data that had no input mask. The variable is supposed to be surname but I have blank fields, number codes, alphanumeric codes and surnames.

Is there any query that I could do that could categorise these ie make a new field that states the type of surname entered?

If it can't be done in access can it be done in excel?

Thanks,

Sandra

RE: alpha-numeric fileds

Hi Sandra

Could you post some examples of the data.

You can do a update query, once you have obtained the dataset that you want to categorise.

Add a new field to the table, can call it something like SurnameCategory

Once you have the basic SELECT query in place (ie. IS NULL for blanks), then change the query type to UPDATE. (you will find this next to the Red Exclaimation mark on the toolbar).

In the query you will need to have two fields:
The one that you are filtering (surname), and the one you will update (SurnameCatagory).
Simply specify what you want to update the SurnameCategory field to (ie: "BLANK"), and then click the RED EXCLAIMATION mark to run the Query.


I suggest that you backup or make a copy of your database before doing this, as the results are not reversable.

Let me know if this works out for you.

Regards

Richard

Access tip:

Relationship maps

It is important to create proper relationships between tables. You can use Access to help check your designs and evaluate them by printing them in graphical format to help with design purposes


Click on the Tools menu, click Relationships.
On the File menu, click Print Relationships. View or print as required

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.