Format a field in an MS Access database

  • Status: Closed
  • Prize: $10
  • Entries Received: 1

Contest Brief

Hello,
We have a database under MS Access with a single table. We would like to have a specific format for a given field.
The "Card_No" field contains the card number. This number must have the following characteristics:
1. Being unique
2. Composed of 9 digits
3. The format "XXXXXXXAA" where AA represents the value of the field "ID_Ville" (If ID_Ville = 1 then AA = 01, if ID_Ville = 11, then AA = 11). X represents a number between 0 and 9)
4. Generate automatically

The "No_Carte_Print" field contains the value of the "No_Carte" field in the format: "X XXX XXX AA".
The first line of the table illustrates the need.

In French language:
Bonjour,
Nous avons une base données sous MS Acces avec un seule table. Nous aimerons avoir un format spécifique pour un champ donné.
Le champ "No_Carte" contient le numéro de carte. Ce numéro doit avoir les caractéristique suivantes:
1. Etre unique
2. Composé de 9 chiffres
3. Le format "XXXXXXXAA" où AA représente le la valeur du champs "ID_Ville" (Si ID_Ville = 1 alors AA = 01, si ID_Ville = 11, alors AA = 11). X représente un chiffre compris entre 0 et 9)
4. Générer automatiquement

Le champs "No_Carte_Print" contient la valeur du champs "No_Carte" dans le format : "X XXX XXX AA".
La première ligne de la table illustre le besoin.

Recommended Skills

Top entries from this contest

View More Entries

Public Clarification Board

No messages yet.

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!